Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

XA Transacted JMS session

843830Sep 28 2004 — edited Sep 29 2004
Hello,

I'm using a piece of messaging middleware that is based on JMS. I have a problem with the system when using it in xa transaction compliant mode - attempts to receive messages hang. I have access to the middleware's code, and have traced the problem to a line that says:

if (!xaEnable) connection.start();

i.e. if it's xa enabled then don't start the queue! If I modify the code to always start the connection listening on the queue then it works fine. Before I contact the vendor I was wondering if there are any circumstances in which you wouldn't start listening (when you want to receive messages!) - I am not a JMS guru and as not starting the queue seems pretty deliberate I wanted to be reasonably sure of my argument before pressing for a fix.

Thanks for helping.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 27 2004
Added on Sep 28 2004
1 comment
175 views