org.jboss.soa.esb.notification
Class NotifyTopics
java.lang.Object
org.jboss.soa.esb.notification.NotificationTarget
org.jboss.soa.esb.notification.NotifyJMS
org.jboss.soa.esb.notification.NotifyTopics
public class NotifyTopics
- extends NotifyJMS
KS: It is silly we open and close the jms connection with eash request.
|
Method Summary |
protected void |
send(javax.jms.Message p_oMsg,
javax.jms.MessageProducer msgProducer)
Abstract method - All classes that extend NotifyJMS must implement it
according to their own javax.jms.Destination needs (Queue/Topic) |
protected void |
setTopics(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
- See Also:
- Constant Field Values
CHILD_TOPIC
public static final java.lang.String CHILD_TOPIC
- See Also:
- Constant Field Values
NotifyTopics
public NotifyTopics(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
setTopics
protected void setTopics(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
send
protected void send(javax.jms.Message p_oMsg,
javax.jms.MessageProducer msgProducer)
throws javax.jms.JMSException
- 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:
send in class NotifyJMS
- Parameters:
p_oMsg - the JMS Message to sendmsgProducer - the JMS Message Producer which will perform the sending
- Throws:
javax.jms.JMSException - if the send was not sucessful