web stats
JMS Session is closed error when broker restarts - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 08-25-2011, 02:14 AM
Ittai Ittai is offline
What's HL7?
 
Join Date: Aug 2011
Posts: 5
Ittai is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 08-25-2011, 05:13 AM
Bostad Bostad is offline
Level 85 Channel Wizard
 
Join Date: Mar 2009
Location: Stratford Ontario
Posts: 712
Bostad is an unknown quantity at this point
Default

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
Reply With Quote
  #3  
Old 08-25-2011, 06:32 AM
Ittai Ittai is offline
What's HL7?
 
Join Date: Aug 2011
Posts: 5
Ittai is on a distinguished road
Default

Hi,
Thanks for your time.

I've attached my channel.
Attached Files
File Type: xml mockSender.xml (5.6 KB, 11 views)
Reply With Quote
Reply

Tags
connection, error, jms, openmq

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 08:26 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Mirth Corporation