|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wsif.util.jms.WSIFJMSDestination
org.apache.wsif.util.jms.JMS2HTTPBridgeDestination
public class JMS2HTTPBridgeDestination
Server destination for the JMS2HTTPBridge
Field Summary | |
---|---|
static java.lang.String |
COLDSTART
|
static java.lang.String |
WARMSTART
|
Constructor Summary | |
---|---|
JMS2HTTPBridgeDestination(WSIFJMSFinder finder,
java.lang.String altDestName,
long timeout,
java.lang.String startType,
boolean verbose)
Public constructor. |
Method Summary | |
---|---|
void |
listen(WSIFJMSListener listener)
Create a listener thread to listen for messages. |
void |
listen(WSIFJMSListener listener,
javax.jms.Queue queue)
Create a listener thread to listen for messages. |
void |
setReplyToQueue()
Set the replyTo queue to a temporary queue. |
void |
setReplyToQueue(javax.jms.Queue replyTo)
Set the replyTo queue. |
void |
setReplyToQueue(java.lang.String replyTo)
Set the replyTo queue. |
Methods inherited from class org.apache.wsif.util.jms.WSIFJMSDestination |
---|
close, createMessage, createMessage, deep, finalize, getJMSAddressFromURL, getProperties, getProperty, receive, receive, receive, receiveString, receiveString, send, send, send, send, send, setAsyncMode, setLastMessage, setProperties, setProperty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COLDSTART
public static final java.lang.String WARMSTART
Constructor Detail |
---|
public JMS2HTTPBridgeDestination(WSIFJMSFinder finder, java.lang.String altDestName, long timeout, java.lang.String startType, boolean verbose) throws WSIFException
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.
WSIFException
Method Detail |
---|
public void listen(WSIFJMSListener listener) throws WSIFException
listener
- is the JMS message and exception callback interface implementation
WSIFException
public void listen(WSIFJMSListener listener, javax.jms.Queue queue) throws WSIFException
listener
- is the JMS message and exception callback interface implementationqueue
- to listen on
WSIFException
public void setReplyToQueue() throws WSIFException
WSIFJMSDestination
setReplyToQueue
in class WSIFJMSDestination
WSIFException
public void setReplyToQueue(java.lang.String replyTo) throws WSIFException
WSIFJMSDestination
setReplyToQueue
in class WSIFJMSDestination
replyTo
- queue name.
WSIFException
public void setReplyToQueue(javax.jms.Queue replyTo) throws WSIFException
replyTo
- queue.
WSIFException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |