org.apache.taglibs.jms
Class ReceiveTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.taglibs.jms.AbstractTag
          extended by org.apache.taglibs.jms.MessageOperationTag
              extended by org.apache.taglibs.jms.ReceiveTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag, ConnectionContext

public class ReceiveTag
extends MessageOperationTag

Receives a JMS message.

Version:
$Revision$
Author:
James Strachan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ReceiveTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 long getTimeout()
           
 java.lang.String getVar()
           
protected  void onMessage(javax.jms.Message message)
          Processes the incoming message
 void release()
           
 void setTimeout(long timeout)
           
 void setVar(java.lang.String var)
           
 
Methods inherited from class org.apache.taglibs.jms.MessageOperationTag
findConnection, getConnection, getDestination, setConnection, setDestination
 
Methods inherited from class org.apache.taglibs.jms.AbstractTag
handleException
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReceiveTag

public ReceiveTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class MessageOperationTag

getVar

public java.lang.String getVar()

setVar

public void setVar(java.lang.String var)

getTimeout

public long getTimeout()

setTimeout

public void setTimeout(long timeout)

onMessage

protected void onMessage(javax.jms.Message message)
Processes the incoming message



Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.