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
- 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 javax.jms.QueueConnectionFactory |
lookupQueueConnectionFactory()
Get the QueueConnectionFactory to be used for this instance. |
protected void |
sendToAll(javax.jms.Message p_oMsg)
Abstract method - All classes that extend NotifyJMS must implement it
according to their own javax.jms.Destination needs (Queue/Topic) |
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 java.lang.Exception
- Throws:
java.lang.Exception
setQueues
protected void setQueues(ConfigTree[] p_oaP)
throws java.lang.Exception
- Throws:
java.lang.Exception
lookupQueueConnectionFactory
protected javax.jms.QueueConnectionFactory lookupQueueConnectionFactory()
throws javax.naming.NamingException
- Get the
QueueConnectionFactory
to be used for this instance.
Can be overridden for testing.
- Returns:
- The QueueConnectionFactory fro the JNDI context.
- Throws:
javax.naming.NamingException
sendToAll
protected void sendToAll(javax.jms.Message p_oMsg)
- Description copied from class:
NotifyJMS
- Abstract method - All classes that extend NotifyJMS must implement it
according to their own javax.jms.Destination needs (Queue/Topic)
- Specified by:
sendToAll
in class NotifyJMS
- Parameters:
p_oMsg
- Message