|
||||||||||
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.StopwatchTag
This tag can be used to measure the amount of time it takes to process JMS messages. This tag can be wrapped around any custom JMS tag which consumes JMS messages.
Field Summary | |
private int |
groupSize
the message group size |
private org.apache.commons.logging.Log |
log
The Log to which logging calls will be made. |
private javax.jms.MessageListener |
messageListener
the underlying MessageListener |
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 | |
StopwatchTag()
|
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
int |
getGroupSize()
|
org.apache.commons.logging.Log |
getLog()
|
javax.jms.MessageListener |
getMessageListener()
|
void |
setGroupSize(int groupSize)
Sets the number of messages in the group before the performance statistics are logged |
void |
setLog(org.apache.commons.logging.Log log)
Sets the logger to which statistic messages will be sent |
void |
setMessageListener(javax.jms.MessageListener messageListener)
Sets the JMS messageListener used to consume JMS messages on the given destination |
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 javax.jms.MessageListener messageListener
private org.apache.commons.logging.Log log
private int groupSize
Constructor Detail |
public StopwatchTag()
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 int getGroupSize()
public void setGroupSize(int groupSize)
public org.apache.commons.logging.Log getLog()
public void setLog(org.apache.commons.logging.Log log)
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 |