Constructor for the TopicRequestor class.

This implementation assumes the session parameter to be non-transacted, with a delivery mode of either AUTO_ACKNOWLEDGE or DUPS_OK_ACKNOWLEDGE.

Namespace:  Kaazing.JMS
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

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the JMS provider fails to create the TopicRequestor due to some internal error.
Kaazing.JMS..::..InvalidDestinationExceptionif an invalid topic is specified.

See Also