MQ Series + Java + EJB


EJB programming & troubleshooting: MQ Series + Java + EJB

  1. MQ Series + Java + EJB (1 messages)

    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

    Threaded Messages (1)

  2. MQ Series + Java + EJB[ Go to top ]

    Ok, the answer is NO.
    Only thing: MQGMO_WAIT MQ wait time should be less than server's transaction timeout.