| java.lang.Object org.apache.wsif.util.jms.WSIFJMSDestination org.apache.wsif.util.jms.JMS2HTTPBridgeDestination
All known Subclasses: org.apache.wsif.util.jms.NativeJMSRequestListener, org.apache.wsif.util.jms.JMSAsyncListener,
JMS2HTTPBridgeDestination | public class JMS2HTTPBridgeDestination extends WSIFJMSDestination (Code) | | Server destination for the JMS2HTTPBridge
author: Mark Whitlock |
Constructor Summary | |
public | JMS2HTTPBridgeDestination(WSIFJMSFinder finder, String altDestName, long timeout, String startType, boolean verbose) Public constructor.
Parameters: finder - used to find JMS objects. Parameters: altdestName - is an alterative JMS provider destination name Parameters: timeout - is the maximum time to wait on a synchronous receive Parameters: startType - is WARMSTART or COLDSTART. |
JMS2HTTPBridgeDestination | public JMS2HTTPBridgeDestination(WSIFJMSFinder finder, String altDestName, long timeout, String startType, boolean verbose) throws WSIFException(Code) | | Public constructor.
Parameters: finder - used to find JMS objects. Parameters: altdestName - is an alterative JMS provider destination name Parameters: timeout - is the maximum time to wait on a synchronous receive Parameters: startType - is WARMSTART or COLDSTART. Cold means wipe the read queue on startup. |
listen | public void listen(WSIFJMSListener listener) throws WSIFException(Code) | | Create a listener thread to listen for messages. This waits forever until it gets
an InterruptedException. This listens on the read queue.
Parameters: listener - is the JMS message and exception callback interface implementation |
listen | public void listen(WSIFJMSListener listener, Queue queue) throws WSIFException(Code) | | Create a listener thread to listen for messages. This waits forever until it gets
an InterruptedException.
Parameters: listener - is the JMS message and exception callback interface implementation Parameters: queue - to listen on |
setReplyToQueue | public void setReplyToQueue(Queue replyTo) throws WSIFException(Code) | | Set the replyTo queue. Special bridge version.
Parameters: replyTo - queue. |
|
|