org.jboss.soa.esb.notification
Class NotifyTopics

java.lang.Object
  extended by org.jboss.soa.esb.notification.NotificationTarget
      extended by org.jboss.soa.esb.notification.NotifyJMS
          extended by 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.


Field Summary
static java.lang.String CHILD_TOPIC
           
static java.lang.String CONNECTION_FACTORY
           
 
Fields inherited from class org.jboss.soa.esb.notification.NotifyJMS
ATT_DEST_NAME, ATT_PROP_NAME, ATT_PROP_VALUE, CHILD_MSG_PROP, log, m_oaMssProd, m_oCtx, m_oSess, mPool
 
Fields inherited from class org.jboss.soa.esb.notification.NotificationTarget
m_oParms, PRM_NOTIF_CLASS
 
Constructor Summary
NotifyTopics(ConfigTree p_oP)
           
 
Method Summary
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 setTopics(ConfigTree[] p_oaP)
           
 
Methods inherited from class org.jboss.soa.esb.notification.NotifyJMS
release, sendNotification
 
Methods inherited from class org.jboss.soa.esb.notification.NotificationTarget
fromParams
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

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
Method Detail

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

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