org.jboss.soa.esb.notification
Class NotifyQueues
java.lang.Object
org.jboss.soa.esb.notification.NotificationTarget
org.jboss.soa.esb.notification.NotifyJMS
org.jboss.soa.esb.notification.NotifyQueues
public class NotifyQueues
- extends NotifyJMS
This class that implements abstract methods defined in it's superclass
Description:
Author: Heuristica - Buenos Aires - Argentina
KS: It is silly we open and close the jms connection with eash request.
- Version:
- 1.0
|
Field Summary |
static java.lang.String |
CHILD_QUEUE
Element name mnemonic to search for child elements in the ConfigTree at
constructor time, that will hold a "jndiName" attribute specifying the
value to look up in the JNDI context in order to obtain a queue |
static java.lang.String |
CONNECTION_FACTORY
Connection Factory JNDI name. |
|
Method Summary |
protected void |
sendToAll(javax.jms.Message p_oMsg)
Send a message to all the configured queues. |
protected void |
setQueues(ConfigTree[] p_oaP)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONNECTION_FACTORY
public static final java.lang.String CONNECTION_FACTORY
- Connection Factory JNDI name.
- See Also:
- Constant Field Values
CHILD_QUEUE
public static final java.lang.String CHILD_QUEUE
- Element name mnemonic to search for child elements in the ConfigTree at
constructor time, that will hold a "jndiName" attribute specifying the
value to look up in the JNDI context in order to obtain a queue
- See Also:
NotifyJMS.ATT_DEST_NAME,
Constant Field Values
NotifyQueues
public NotifyQueues(ConfigTree p_oP)
throws ConfigurationException,
javax.jms.JMSException,
org.jboss.internal.soa.esb.rosetta.pooling.ConnectionException
- Throws:
ConfigurationException
javax.jms.JMSException
org.jboss.internal.soa.esb.rosetta.pooling.ConnectionException
setQueues
protected void setQueues(ConfigTree[] p_oaP)
throws ConfigurationException,
javax.jms.JMSException,
org.jboss.internal.soa.esb.rosetta.pooling.ConnectionException
- Throws:
ConfigurationException
javax.jms.JMSException
org.jboss.internal.soa.esb.rosetta.pooling.ConnectionException
sendToAll
protected void sendToAll(javax.jms.Message p_oMsg)
- Send a message to all the configured queues.
- Specified by:
sendToAll in class NotifyJMS
- Parameters:
p_oMsg - Message