org.objectweb.joram.mom.util

Class BridgePtpModule

Implemented Interfaces:
javax.jms.ExceptionListener, javax.jms.MessageListener, java.io.Serializable

public class BridgePtpModule
extends BridgeUnifiedModule

The BridgePtpModule class is a bridge module based on the JMS PTP semantics and classes.

See Also:
Serialized Form

Nested Class Summary

Nested classes/interfaces 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, doConnect, init, onException, onMessage, receive, receiveNoWait, send, setConsumer, setMessageListener, unsetConsumer, unsetMessageListener

Constructor Details

BridgePtpModule

public BridgePtpModule()
Constructs a BridgePtpModule module.

Method Details

doConnect

protected void doConnect()
            throws JMSException
Opens a connection with the foreign JMS server and creates the JMS PTP resources for interacting with the foreign JMS queue.
Overrides:
doConnect in interface BridgeUnifiedModule


send

public void send(Message message)
            throws JMSException
Sends a message to the foreign JMS queue.
Overrides:
send in interface BridgeUnifiedModule


Copyright B) 2004 Scalagent - All rights reserved