Constructor for the QueueRequestor 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 IQueueSession, _ queue As IQueue _ ) |
| C# |
|---|
public QueueRequestor( IQueueSession session, IQueue queue ) |
| Visual C++ |
|---|
public: QueueRequestor( IQueueSession^ session, IQueue^ queue ) |
Parameters
- session
- Type: Kaazing.JMS..::..IQueueSession
the IQueueSession the queue belongs to
- queue
- Type: Kaazing.JMS..::..IQueue
the queue to perform the request/reply call on
Exceptions
| Exception | Condition |
|---|---|
| Kaazing.JMS..::..JMSException | if the JMS provider fails to create the QueueRequestor due to some internal error. |
| Kaazing.JMS..::..InvalidDestinationException | if an invalid queue is specified. |