Collapse All Expand All

.NET Framework Class Library
See Also

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

Enum contains different overflow policy types

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

# Syntax

    public enum OverflowPolicyType

    Public Enumeration OverflowPolicyType

    public enum class OverflowPolicyType

# Members

| Member name | Description
--- | --- | ---
| Default | Default overflow policy. For queues this means that producers will receive an error if they try to send a message to a queue that has reached either its maxbytes limit or its maxmsgs limit. For topics, if a subscriber has exceeded their maxbytes limit of their maxmsgs limit then new messages will not be delivered to that subscriber but no error will be returned to the sender.
| DiscardOld | Policy is to discard old messages. If maxmsgs or maxbytes are exceeded for the queue or a topic's subscriber then when new messages arrive, old messages will be discarded.
| RejectIncoming | Policy is to reject new messages. For queues, this behavior is the same as the default. For topics, the sender will receive an error if any of the subscribers for the topics has exceeded either their maxbytes limit or their maxmsgs limit.

# See Also

TIBCO.EMS.ADMIN Namespace