|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.TagSupport org.apache.commons.jelly.tags.jms.MessageOperationTag org.apache.commons.jelly.tags.jms.ReceiveTag
Receives a JMS message.
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
ReceiveTag()
|
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
long |
getTimeout()
|
java.lang.String |
getVar()
|
protected void |
onMessage(javax.jms.Message message)
A strategy method which processes the incoming message, allowing derived classes to implement different processing methods |
void |
setTimeout(long timeout)
Sets the timeout period in milliseconds to wait for a message. |
void |
setVar(java.lang.String var)
Sets the variable name to create for the received message, which will be null if no message could be returned in the given time period. |
Methods inherited from class org.apache.commons.jelly.tags.jms.MessageOperationTag |
findConnection, findDestination, getConnection, getDestination, setConnection, setDestination, setSubject |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReceiveTag()
Method Detail |
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public java.lang.String getVar()
public void setVar(java.lang.String var)
public long getTimeout()
public void setTimeout(long timeout)
protected void onMessage(javax.jms.Message message)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |