|
||||||||||
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.MessageTag
A tag which creates a JMS message
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
MessageTag()
|
Method Summary | |
void |
addProperty(java.lang.String name,
java.lang.Object value)
Adds a JMS property to the message |
protected javax.jms.Message |
createMessage()
|
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
protected org.apache.commons.messenger.Messenger |
findConnection()
|
org.apache.commons.messenger.Messenger |
getConnection()
|
javax.jms.Message |
getMessage()
|
void |
setConnection(org.apache.commons.messenger.Messenger connection)
Sets the Messenger (the JMS connection pool) that will be used to send the message |
void |
setCorrelationID(java.lang.String correlationID)
Sets the JMS Correlation ID to be used on the message |
void |
setReplyTo(javax.jms.Destination destination)
Sets the reply-to destination to add to the message |
void |
setType(java.lang.String type)
Sets the type name of the message |
void |
setVar(java.lang.String var)
Sets the name of the variable that the message will be exported to |
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 MessageTag()
Method Detail |
public void addProperty(java.lang.String name, java.lang.Object value) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public void setVar(java.lang.String var)
public org.apache.commons.messenger.Messenger getConnection() throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public void setConnection(org.apache.commons.messenger.Messenger connection)
public javax.jms.Message getMessage() throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public void setCorrelationID(java.lang.String correlationID) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public void setReplyTo(javax.jms.Destination destination) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public void setType(java.lang.String type) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
protected org.apache.commons.messenger.Messenger findConnection() throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
protected javax.jms.Message createMessage() throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |