|
||||||||||
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
An abstract base class for JMS Message operation tags such as send, receive or call.
Field Summary |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
MessageOperationTag()
|
Method Summary | |
protected org.apache.commons.messenger.Messenger |
findConnection()
Strategy Method allowing derived classes to change this behaviour |
protected javax.jms.Destination |
findDestination(java.lang.String subject)
Strategy Method allowing derived classes to change this behaviour |
org.apache.commons.messenger.Messenger |
getConnection()
|
javax.jms.Destination |
getDestination()
|
void |
setConnection(org.apache.commons.messenger.Messenger connection)
Sets the Messenger (the JMS connection pool) that will be used to send the message |
void |
setDestination(javax.jms.Destination destination)
Sets the JMS Destination to be used by this tag |
void |
setSubject(java.lang.String subject)
Sets the subject as a String which is used to create the JMS Destination to be used by this tag |
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 |
Methods inherited from interface org.apache.commons.jelly.Tag |
doTag |
Constructor Detail |
public MessageOperationTag()
Method Detail |
public org.apache.commons.messenger.Messenger getConnection() throws org.apache.commons.jelly.JellyTagException, javax.jms.JMSException
getConnection
in interface ConnectionContext
org.apache.commons.jelly.JellyTagException
javax.jms.JMSException
public void setConnection(org.apache.commons.messenger.Messenger connection)
public javax.jms.Destination getDestination() throws org.apache.commons.jelly.JellyTagException, javax.jms.JMSException
org.apache.commons.jelly.JellyTagException
javax.jms.JMSException
public void setDestination(javax.jms.Destination destination)
public void setSubject(java.lang.String subject)
protected org.apache.commons.messenger.Messenger findConnection() throws org.apache.commons.jelly.JellyTagException, javax.jms.JMSException
org.apache.commons.jelly.JellyTagException
javax.jms.JMSException
protected javax.jms.Destination findDestination(java.lang.String subject) throws org.apache.commons.jelly.JellyTagException, javax.jms.JMSException
org.apache.commons.jelly.JellyTagException
javax.jms.JMSException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |