|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | 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.
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
ReceiveTag()
|
Method Summary | |
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized. |
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, getConnection, getDestination, setConnection, setDestination |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, 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(XMLOutput output) throws java.lang.Exception
Tag
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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |