On 12 September 2010 09:25, [email protected] <[email protected]> wrote: > I use Session.SESSION_TRANSACTED. Where can I call the acknowledge method?
Hi. If you use transacted sessions, created via the 'createSession(true, SESSION_TRANSACTED)' method, then you must call 'session.commit()' after each send or receive once you are satisfied that the messages are sent or received correctly, otherwise, you should call 'session.rollback()' to abort the transaction. Andrew. -- -- andrew d kennedy ? edinburgh : +44 7941 197 134 --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:[email protected]
