It seems you are using a transacted session.
Session session = connection.createSession(true, Session.AUTO_ACKNOWLEDGE);
Try calling session.commit() before closing the session.
Or you can send in false into createSession and you don't have to call
session.commit()
View the original post :
ht
I am running JBoss 4.2.3 with JBoss Messaging 1.4.2.GA-SP1
This is related to Container Managed Transactions and handling Application
Exceptions within EJBs and MDBs.
The following are the exceptions I use:
MyRetryException - Extends Exception
MyEJBRetryRuntimeException - Extends Runtime Excepti
I basically need a message to be redelivered right away or within (1-2)
seconds, so I set that attribute on the queue accordingly.
Scenario:
In an MDB, say that I am trying to persist a message to the db but the db goes
down. The db will most probably not come back up by the time the message is