WebLogic Messaging API Class Library

ISession. Method 

Rolls back any messages done in this transaction and releases any locks currently held.

void ();

Exceptions

Exception Type Condition
MessageException if the JMS provider fails to roll back the transaction due to some internal error.
IllegalStateException if the method is not called by a transacted session.

See Also

ISession Interface | WebLogic.Messaging Namespace