[TIBCO.EMS.UFOCLIENT .NET client library 5.1 documentation]

Roll back messages in the current transaction

Namespace:  TIBCO.EMS.UFO
Assembly:  TIBCO.EMS.UFO (in TIBCO.EMS.UFO.dll)

Syntax

public virtual void Rollback()
Public Overridable Sub Rollback
public:
virtual void Rollback()

Remarks

Roll back any messages done in this transaction and release any locks currently held.

Messages sent to a queue with prefetch=none and maxRedelivery=number properties are not received number times by an EMS application that receives in a loop and does an XA rollback after the XA prepare phase.

Exceptions

ExceptionCondition
IllegalStateExceptionThe session does not have transactional semantics.

See Also