|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.jms.MessageOperationTag
org.apache.commons.jelly.tags.jms.SubscribeTag
Performs a subscription to some JMS connection to a destination maybe with a selector. A JMS MessageListener can be specified, or a special child tag can explicitly set it on its parent (so a special tag could construct a MessageListener object and register it with this tag).
Field Summary | |
private static org.apache.commons.logging.Log |
log
The Log to which logging calls will be made. |
private javax.jms.MessageListener |
messageListener
The JMS MessageListener used to create the subscription |
private java.lang.String |
selector
the JMS Selector for the subscription |
Fields inherited from class org.apache.commons.jelly.tags.jms.MessageOperationTag |
|
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
SubscribeTag()
|
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
javax.jms.MessageListener |
getMessageListener()
Returns the messageListener. |
void |
setMessageListener(javax.jms.MessageListener messageListener)
Sets the JMS messageListener used ot consume JMS messages on the given destination |
void |
setSelector(java.lang.String selector)
Sets the optional JMS Message selector for the subscription |
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 |
Field Detail |
private static final org.apache.commons.logging.Log log
private java.lang.String selector
private javax.jms.MessageListener messageListener
Constructor Detail |
public SubscribeTag()
Method Detail |
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.JellyTagException
doTag
in interface org.apache.commons.jelly.Tag
org.apache.commons.jelly.JellyTagException
public void setSelector(java.lang.String selector)
public javax.jms.MessageListener getMessageListener()
public void setMessageListener(javax.jms.MessageListener messageListener)
setMessageListener
in interface ConsumerTag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |