Announcement

Collapse
No announcement yet.

ChannelUtil question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    If you are unable to upgrade, here are the methods you can use for 3.2.0

    http://javadocs.mirthcorp.com/connec...annelUtil.html

    It looks like you could use your example for deployed channels, but not undeployed channels.

    Comment


    • #17
      Originally posted by jadams4 View Post
      Yes, this would place it in the dashboard. I meant you could use this to see if the information you want is correct. Then once you have what you want, for example:

      logger.info("Is channel deployed: " +ChannelUtil.getChannelState());
      logger.info(whatever other info you want here);
      // keep logging until you have everything you want

      Once you verify everything you want is working how you intend in the dashboard, you could create a destination with these transformers that is a file write. Then save this info in the channelmap and use it in the template to write to a file.
      Hello,
      I try
      Code:
      ChannelUtil.getConnectorState
      . It returns the DeployedState status (Started\stopped).
      Is there a way to get 'enable\disable' status of a connector?

      Comment

      Working...
      X