I have an MDB that calls some methods in its onMessage() method.Inside the catch block of onMessage() I run an update query using preparestatement.I notice that if the flow reaches the catch block it does not commit the update statement.Is it not possible to do that inside the catch block of an MDB?My onMessage() methos is like this
public void onMessage(Message message) {
try{
someMethod()
}
catch(Throwable o)
{
someUpdateMethod()//update query runs here
}
}