Collapse All Expand All

.NET Framework Class Library
Session Class See Also

[TIBCO.EMS .NET client library 5.1 documentation]

Roll back messages in the current transaction

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.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

Exception | Condition
--- | ---
TIBCO.EMS..::.IllegalStateException | The session does not have transactional semantics.

# See Also

Session Class
TIBCO.EMS Namespace