Constructor for the TopicRequestor class.
Namespace:
Kaazing.JMSThis implementation assumes the session parameter to be non-transacted, with a delivery mode of either AUTO_ACKNOWLEDGE or DUPS_OK_ACKNOWLEDGE.
Assembly: Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
| Visual Basic |
|---|
Public Sub New ( _ session As ITopicSession, _ topic As ITopic _ ) |
| C# |
|---|
public TopicRequestor( ITopicSession session, ITopic topic ) |
| Visual C++ |
|---|
public: TopicRequestor( ITopicSession^ session, ITopic^ topic ) |
Parameters
- session
- Type: Kaazing.JMS..::..ITopicSession
the ITopicSession the topic belongs to
- topic
- Type: Kaazing.JMS..::..ITopic
the topic to perform the request/reply call on
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to create the TopicRequestor due to some internal error. |
| Kaazing.JMS..::..InvalidDestinationException | if an invalid topic is specified. |