JmsManager implementation
This singleton class must exist in each JOnAS server that want to use JMS
author: Laurent Chauvirey, Frederic Maistre, Nicolas Tachker author: Contributor(s):
author: Christophe Ney: for making easier Enhydra integration
author: Philippe Durieux
author: Jeff Mesnil: for JORAM 3.0 integration
author: Philippe Coq: for JORAM 3.1 (JMS 1.1) integration
author: Adriana Danes : update with support of JMS resource monitoring
Get the messaging mode a connection factory belongs to
Parameters: jndiName - connection factory name messaging mode exception: failure - on calling monitoring operation
getCurrentNumberOfJmsConnectionFactory
public int getCurrentNumberOfJmsConnectionFactory()(Code)
the current number of Jms Connection Factory
getCurrentNumberOfJmsQueueConnectionFactory
public int getCurrentNumberOfJmsQueueConnectionFactory()(Code)
the current number of Queue Jms Connection Factory
getCurrentNumberOfJmsQueueDestination
public int getCurrentNumberOfJmsQueueDestination()(Code)
the current number of Queue Jms Destination
getCurrentNumberOfJmsTopicConnectionFactory
public int getCurrentNumberOfJmsTopicConnectionFactory()(Code)
the current number of Topic Jms Connection Factory
getCurrentNumberOfJmsTopicDestination
public int getCurrentNumberOfJmsTopicDestination()(Code)
Get number of pending messages on a queue
Parameters: name - the queue's jndi name number of pending messages exception: failure - on calling monitoring operation
Get number of pending requests on a queue
Parameters: jndiName - queue name number of pending requests exception: failure - on calling monitoring operation
Initialization of the JmsManager
class JmsAdministration class . boolean true for launchin the MOM inside the JOnAS server. Parameters: String - url connexion that must be used as soon as we don't usethe default value of a3server.xml