< Table of Contents

Kaazing Gateway JMS Client Libraries: Supported APIs

This document lists how the Kaazing Gateway JMS client libraries support the JMS 1.1 classes that have superseded JMS 1.0 API classes, and the JMS APIs that are not supported by the Kaazing Gateway JMS client libraries.

Note: Kaazing Gateway support for APIs listed in this document depends upon whether the back-end message broker system supports the APIs.

For information about the JMS API, see the JMS API specification.

For documentation on the available JMS API methods in the Kaazing Gateway JMS Client Libraries, see Client API Documentation on the main Documentation page.

This document also contains the following two sections:

Refer to the appropriate Kaazing Gateway client topics in For Developers to learn how to use the Kaazing Gateway JMS Client Libraries.

JMS APIs Not Supported by the Kaazing Gateway JMS Client Libraries

The following table lists the specific APIs that are not supported by the Kaazing Gateway JMS Client Libraries.

Note: JNDI is only supported in the Java JMS client.

JMS API Interface/Class Support Level in Kaazing Gateway - Enterprise Edition Client Technology
BytesMessage The following methods are not supported in JavaScript:-,readLong(), readFloat(), readDouble(), writeLong(), writeFloat(), writeDouble(), writeObject()` JavaScript
Connection The following methods are not supported: createConnectionConsumer()- ,createDurableConnectionConsumer()` All
Connection The following methods are not supported: setClientId(), run() All
ConnectionConsumer This class is not supported. All
KMBytesMessage The following methods are not supported in Objective-C: readFloat(), readDouble(), writeFloat(), writeDouble(), writeObject() Note:: To send float and double values, you can use message properties and MapMessage. See the Objective-C JMS Client API documentation for more information. Objective-C
Message The following method is not supported: correlationIdAsBytes. Note: Not all types and conversions are supported. See the appropriate client API documentation to see which ones are supported. All
MessageConsumer The following method is not supported in JavaScript: receive() JavaScript
MessageProducer The following methods are not supported: disableMessageId(), disableMessageTimestamp() All
MessageProducer The following methods are not supported in JavaScript: getDisableMessageId(), getDisableMessageTimestamp(), setDisableMessageId(), setDisableMessageTimestamp() JavaScript
ObjectMessage This class is not supported. All
QueueBrowser This class is not supported. All
QueueRequestor This class is not supported. All
ServerSession This class is not supported. All
ServerSessionPool This class is not supported. All
Session The following methods are not supported: createBrowser(), createConsumer() on a transacted session, createObjectMessage(), createStreamMessage(), ``run()` All
StreamMessage This class is not supported. All

Note: Constants defined by JMS in the Session class are not supported by ActionScript. Use SessionConstants instead.

Transactional Interfaces Not Supported

The following transactional interfaces are not supported:

JMS 1.1 Classes Supported by the Kaazing Gateway JMS Client Libraries

The following classes are part of the JMS 1.0 API and have been superseded by JMS 1.1 classes. Use the following JMS 1.1 classes supported by Kaazing Gateway.

Note: JNDI is only supported in the Java JMS client.

For the following JMS 1.0 API Interface/Class Use this Kaazing Gateway JMS API 1.1 Interface/Class or Functionality Client Technology
BytesMessage BytesMessage JavaScript Java Android
MapMessage MapMessage JavaScript Java Android
QueueConnection Connection JavaScript Java Android
QueueConnectionFactory ConnectionFactory JavaScript Java Android
QueueReceiver MessageConsumer JavaScript Java Android
QueueRequestor TemporaryQueue JavaScript
QueueSender MessageProducer JavaScript Java Android
QueueSession Session JavaScript Java Android
TextMessage TextMessage JavaScript Java Android
TopicConnection Connection All
TopicConnectionFactory ConnectionFactory All
TopicPublisher MessageProducer JavaScript Java Android
TopicRequestor TemporaryTopic Java Android JavaScript
TopicSession Session JavaScript Java Android
BytesMessage IBytesMessage .NET
MapMessage IMapMessage .NET
QueueConnection IConnection .NET
QueueConnectionFactory IConnectionFactory .NET
QueueRequestor ITemporaryQueue .NET
QueueReceiver IMessageConsumer .NET
QueueSender IMessageProducer .NET
QueueSession ISession .NET
TextMessage ITextMessage .NET
TopicConnectionFactory IConnectionFactory .NET
TopicPublisher IMessageProducer .NET
TopicRequestor ITemporaryTopic NET
TopicSession ISession NET
BytesMessage KMBytesMessage Objective-C
MapMessage KMMapMessage Objective-C
QueueConnection KMConnection Objective-C
QueueConnectionFactory KMConnectionFactory Objective-C
QueueReceiver KMMessageConsumer Objective-C
QueueRequestor KMTemporaryQueue Objective-C
QueueSender KMMessageProducer Objective-C
QueueSession KMSession Objective-C
TextMessage KMTextMessage Objective-C
TopicConnection KMConnection Objective-C
TopicConnectionFactory KMConnectionFactory Objective-C
TopicPublisher KMMessageProducer Objective-C
TopicRequestor KMTemporaryTopic Objective-C
TopicSession KMSession Objective-C