Hi for all!

There any way to commit the session aftere receive the message from MQ(before the processing)?

I.e:

Code:
public void onMessage(Message message) {
		
		try {
                      session.commit();
                 // code for message processing
Thanks,
Hugo