[TIBCO.EMS .NET client library 5.1 documentation]
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Create a nondurable subscriber to the specified topic.
Namespace:
TIBCO.EMSAssembly: 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
Exception | Condition |
---|---|
TIBCO.EMS..::.InvalidDestinationException | if an invalid topic is specified |