we use MQ Series + Java (Not JMS) to put/get info from certain queues.
we do *get* with WAIT(MQGMO_WAIT) option. (Say wait for 1 min. for a reply message)
This code is in a helper class and is called from a SessionBean(with REQUIRES NEW tx attribute)
Question is:
if MQ Java helper classs does not get a response within specified wait time(say 1 min) and possibly throw an MQTransaction exception; Will the container roll back the transaction(assuming container's TX time out is 2 min.)
I think the answer is No. pls. validate
TIA
-
MQ Series + Java + EJB (1 messages)
- Posted by: ranji c
- Posted on: November 17 2005 11:22 EST
Threaded Messages (1)
- MQ Series + Java + EJB by ranji c on November 18 2005 11:35 EST
-
MQ Series + Java + EJB[ Go to top ]
- Posted by: ranji c
- Posted on: November 18 2005 11:35 EST
- in response to ranji c
Ok, the answer is NO.
Only thing: MQGMO_WAIT MQ wait time should be less than server's transaction timeout.