Collapse All Expand All

.NET Framework Class Library
Session Class See Also

[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

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

# See Also

Session Class
TIBCO.EMS.UFO Namespace