[TIBCO.EMS .NET client library 6.3 documentation]

Create a nondurable subscriber to the specified topic.

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

Exceptions

ExceptionCondition
TIBCO.EMS..::.InvalidDestinationException if an invalid topic is specified

See Also