Creates a QueueSender object to send messages to the specified queue.

Namespace:  Kaazing.JMS
Assembly:  Kaazing.JMS (in Kaazing.JMS.dll)

Syntax

Visual Basic
Function CreateSender ( _
	queue As IQueue _
) As IQueueSender
C#
IQueueSender CreateSender(
	IQueue queue
)
Visual C++
IQueueSender^ CreateSender(
	IQueue^ queue
)

Parameters

queue
Type: Kaazing.JMS..::..IQueue
the Queue to access, or null if this is an unidentified producer

Exceptions

ExceptionCondition
Kaazing.JMS..::..JMSExceptionif the session fails to create a sender due to some internal error.
Kaazing.JMS..::..InvalidDestinationExceptionif an invalid queue is specified.

See Also