Class JmsConnectionFactory

JmsConnectionFactory provides an interface for creating new JMS connections via a WebSocket connection to a JMS provider.

Creates a new JmsConnectionFactory to create connections to the target url specified. A WebSocket is used to establish the connection. The url should specify a protocol such as ws: or wss:. For example: ws://localhost:8000/jms


Constructor Summary
JmsConnectionFactory(location, connectionProperties)
            JmsConnectionFactory provides an interface for creating new JMS connections via a WebSocket connection to a JMS provider.
 
Method Summary
 ConnectionFuture createConnection(username, password, clientID, callback)
           Creates the actual JMS Connection via WebSocket, using the username and password specified as credentials to authenticate with the Gateway, and using the given clientID to distinguish the durable subscribers for this connection from those of other users.
 WebSocketFactory getWebSocketFactory()
           get WebSocketFactory instance that is used to create WebSocket Connections.
 void setWebSocketFactory(webSocketFactory)
           set WebSocketFactory instance that is used to create WebSocket connections.
 
Constructor Detail

JmsConnectionFactory

JmsConnectionFactory(location, connectionProperties)

Method Detail

createConnection

ConnectionFuture createConnection(username, password, clientID, callback)

getWebSocketFactory

WebSocketFactory getWebSocketFactory()

setWebSocketFactory

void setWebSocketFactory(webSocketFactory)