org.apache.wsif.util.jms
Class JMS2HTTPBridgeDestination
java.lang.Object
|
+--org.apache.wsif.util.jms.WSIFJMSDestination
|
+--org.apache.wsif.util.jms.JMS2HTTPBridgeDestination
- public class JMS2HTTPBridgeDestination
- extends WSIFJMSDestination
Server destination for the JMS2HTTPBridge
- Author:
- Mark Whitlock
Methods inherited from class org.apache.wsif.util.jms.WSIFJMSDestination |
close, createMessage, createMessage, deep, finalize, getProperties, getProperty, receive, receive, receive, receiveString, receiveString, send, send, send, send, send, setAsyncMode, setProperties, setProperty |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COLDSTART
public static final java.lang.String COLDSTART
WARMSTART
public static final java.lang.String WARMSTART
JMS2HTTPBridgeDestination
public JMS2HTTPBridgeDestination(WSIFJMSFinder finder,
java.lang.String altDestName,
long timeout,
java.lang.String startType,
boolean verbose)
throws WSIFException
- Public constructor.
- Parameters:
finder
- used to find JMS objects.altdestName
- is an alterative JMS provider destination nametimeout
- is the maximum time to wait on a synchronous receivestartType
- is WARMSTART or COLDSTART. Cold means wipe the read queue on startup.
listen
public void listen(WSIFJMSListener listener)
throws WSIFException
- 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,
javax.jms.Queue queue)
throws WSIFException
- 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 implementationqueue
- to listen on
setReplyToQueue
public void setReplyToQueue()
throws WSIFException
- Description copied from class:
WSIFJMSDestination
- Set the replyTo queue to a temporary queue.
- Overrides:
setReplyToQueue
in class WSIFJMSDestination
setReplyToQueue
public void setReplyToQueue(java.lang.String replyTo)
throws WSIFException
- Description copied from class:
WSIFJMSDestination
- Set the replyTo queue.
- Overrides:
setReplyToQueue
in class WSIFJMSDestination
- Following copied from class:
org.apache.wsif.util.jms.WSIFJMSDestination
- Parameters:
replyTo
- queue name.
setReplyToQueue
public void setReplyToQueue(javax.jms.Queue replyTo)
throws WSIFException
- Set the replyTo queue. Special bridge version.
- Parameters:
replyTo
- queue.
Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.