A MicroBroker JMS Driver responsible for connection to a MicroBroker server
and creating both the QueueConnectionFactore and the TopicConnectionFactory.
FOR INTERNAL USE ONLY! THIS CLASS IS NOT SUPPORTED FOR THE 7.0 or 7.1 RELEASES!
getQueueFactory()
This method retrieves the provider-specific
javax.jms.QueueConnectionFactory object
javax.jms.TopicConnectionFactory
getTopicFactory()
This method retrieves the provider-specific
javax.jms.TopicConnectionFactory object
void
initialize(Hashtable env)
The initialize(Hastable env) method is passed a java.util.Hashtable
object which stores provider-specific parameters, which can be used for
connecting to a specific instance of the JMS server.
void
terminate()
This is a call-back method used to notify the JMS Driver so it could
clean any used resources.
The initialize(Hastable env) method is passed a java.util.Hashtable
object which stores provider-specific parameters, which can be used for
connecting to a specific instance of the JMS server. Normally this method
would use the supplied parameters to connect to the JMS server and obtain
a javax.jms.TopicConnectionFactory object and/or a
javax.jms.QueueConnectionFactory object. Then the method would store the
object(s) in member variables so that it/they can be later retrieved via
the getQueueFactory() and/or the getTopicFactory() method.
env - a hashtable containing configuration parameters used during
the connecting process. This Driver expects only a parameter
with a key MB_JMS_BROKER and a value that follows
this syntax: <host>:<port> if the port is omitted
the default port 1883 is assumed.
Throws:
Exception - in case the the required parameter is not provided or if
the provided URL is not following the specific format.