Collapse All Expand All

.NET Framework Class Library
TopicSession Class See Also

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

Create a nondurable subscriber to the specified topic.

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

# Syntax

    public TopicSubscriber CreateSubscriber(
    	Topic topic
    )

    Public Function CreateSubscriber ( _
    	topic As Topic _
    ) As TopicSubscriber

    public:
    TopicSubscriber^ CreateSubscriber(
    	Topic^ topic
    )

#### Parameters

topic
  Type: TIBCO.EMS.UFO..::.Topic
  The Topic to subscribe to

# Remarks

A client uses a TopicSubscriber object to receive messages that have been published to a topic.

Regular TopicSubscriber objects are not durable. They receive only messages that are published while they are active.

In some cases, a connection may both publish and subscribe to a topic. The subscriber NoLocal attribute allows a subscriber to inhibit the delivery of messages published by its own connection. The default value for this attribute is false

The TopicSubscriber object will be recreated during connection recovery process.

# Exceptions

Exception | Condition
--- | ---
InvalidDestinationException | if an invalid topic is specified

# See Also

TopicSession Class
CreateSubscriber Overload
TIBCO.EMS.UFO Namespace