|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.mom.util.BridgeUnifiedModule
org.objectweb.joram.mom.util.BridgePtpModule
The BridgePtpModule
class is a bridge module based on the JMS
PTP semantics and classes.
Nested Class Summary |
Nested classes inherited from class org.objectweb.joram.mom.util.BridgeUnifiedModule |
BridgeUnifiedModule.ConsumerDaemon, BridgeUnifiedModule.ReconnectionDaemon, BridgeUnifiedModule.StartupDaemon |
Field Summary |
Fields inherited from class org.objectweb.joram.mom.util.BridgeUnifiedModule |
agentId, clientID, cnx, cnxFact, cnxFactName, consumer, consumerDaemon, consumerSession, dest, destName, jndiFactory, jndiUrl, listener, notUsableMessage, password, producer, producerSession, qout, reconnectionDaemon, selector, usable, userName |
Constructor Summary | |
BridgePtpModule()
Constructs a BridgePtpModule module. |
Method Summary | |
protected void |
doConnect()
Opens a connection with the foreign JMS server and creates the JMS PTP resources for interacting with the foreign JMS queue. |
void |
send(Message message)
Sends a message to the foreign JMS queue. |
Methods inherited from class org.objectweb.joram.mom.util.BridgeUnifiedModule |
acknowledge, close, connect, init, onException, onMessage, receive, receiveNoWait, setConsumer, setMessageListener, unsetConsumer, unsetMessageListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BridgePtpModule()
BridgePtpModule
module.
Method Detail |
public void send(Message message) throws javax.jms.JMSException
send
in class BridgeUnifiedModule
javax.jms.IllegalStateException
- If the module's state does
not permit message sendings.
javax.jms.MessageFormatException
- If the MOM message could not
be converted into a foreign JMS message.
javax.jms.JMSException
protected void doConnect() throws javax.jms.JMSException
doConnect
in class BridgeUnifiedModule
javax.jms.JMSException
- If the needed JMS resources could not be created.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |