org.objectweb.joram.mom.util
Class BridgePubSubModule
- javax.jms.ExceptionListener, javax.jms.MessageListener, java.io.Serializable
public class BridgePubSubModule
The BridgePubSubModule
class is a bridge module based on the
JMS Publish/Subscribe semantics and classes.
- Serialized Form
agentId , clientID , cnx , cnxFact , cnxFactName , consumer , consumerDaemon , consumerSession , dest , destName , jndiFactory , jndiUrl , listener , notUsableMessage , password , producer , producerSession , qout , reconnectionDaemon , selector , usable , userName |
protected void | doConnect() - Opens a connection with the foreign JMS server and creates the
JMS Pub/Sub resources for interacting with the foreign JMS topic.
|
void | send(Message message) - Sends a message to the foreign JMS topic.
|
acknowledge , close , connect , doConnect , init , onException , onMessage , receive , receiveNoWait , send , setConsumer , setMessageListener , unsetConsumer , unsetMessageListener |
BridgePubSubModule
public BridgePubSubModule()
Constructs a BridgePubSubModule
module.
doConnect
protected void doConnect()
throws JMSException
Opens a connection with the foreign JMS server and creates the
JMS Pub/Sub resources for interacting with the foreign JMS topic.
- doConnect in interface BridgeUnifiedModule
send
public void send(Message message)
throws JMSException
Sends a message to the foreign JMS topic.
- send in interface BridgeUnifiedModule
Copyright B) 2004 Scalagent - All rights reserved