Announcement

Collapse
No announcement yet.

JMS Session is closed error when broker restarts

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

  • JMS Session is closed error when broker restarts

    Hi,
    I have a channel which has a JMS Writer as a destination and it outputs to a remote OpenMQ broker.
    When the broker restarts I see errors in the mirth log stating: "Cannot perform operation, connection is closed."
    I of course understand that the session is closed since the broker has restarted but I don't understand why Mirth cannot try to create another session and if even that fails try to create another connectionFactory.
    That seems like the reasonable solution to me and I've seen it happen in other connection-dependant frameworks.

    I'd be happy to hear if there is a concrete answer and if not if someone can point me to the right area I'd be more than happy to suggest a fix (some might consider this an enhancement).

    Thanks for reading this.

  • #2
    Hi There;

    Can you post your channel so we can have a look at your code?

    Please strip out any confidential data before doing so.

    Thanks
    I can be reached through gmail and Google Talk using davidrothbauer at gmail dot com
    http://www.linkedin.com/pub/david-rothbauer/5/923/518
    codeismydrug.wordpress.com
    hl7coders.wordpress.com

    Test all my code suggestions prior to implementation

    Comment


    • #3
      Hi,
      Thanks for your time.

      I've attached my channel.
      Attached Files

      Comment

      Working...
      X