Creates a TopicSession object.
Namespace:
Kaazing.JMS
Assembly:
Kaazing.JMS (in Kaazing.JMS.dll)
Syntax
Parameters
- transacted
- Type: System..::..Boolean
indicates whether the session is transacted
- acknowledgeMode
- Type: System..::..Int32
indicates whether the consumer or the
client will acknowledge any messages it receives; ignored if the session
is transacted. Legal values are Session.AUTO_ACKNOWLEDGE,
Session.CLIENT_ACKNOWLEDGE, and
Session.DUPS_OK_ACKNOWLEDGE.
Return Value
a newly created topic session
Exceptions
| Exception | Condition |
|---|
| Kaazing.JMS..::..JMSException | if the TopicConnection object fails
to create a session due to some internal error or
lack of support for the specific transaction
and acknowledgement mode. |
See Also