Groups > Weblogic > WebLogic Java Message Service > Re: QueueReceiver not reading messages in NonTransacted session




Re: QueueReceiver not reading messages in NonTransacted
session

Re: QueueReceiver not reading messages in NonTransacted session
Mon, 28 Apr 2008 09:22:43 -070
The blog entry is entirely correct - one cannot dequeue a message under a
transaction if the message was enqueued under the same transaction.  This
concept isn't unique to JMS and applies to most queueing systems.     See also:
"Why can't I receive a response to a message that I send within a
transaction?"
http://e-docs.bea.com/wls/docs81/faq/jms.html#252684

You're code snippet only shows a receive - does the snippet actually run inside
a transaction somehow and does this same transaction include the message
send()?

Post Reply
about | contact