org.apache.commons.jelly.tags.jms
Class SendTag

java.lang.Object
  extended by org.apache.commons.jelly.TagSupport
      extended by org.apache.commons.jelly.tags.jms.MessageOperationTag
          extended by org.apache.commons.jelly.tags.jms.SendTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag, ConnectionContext

public class SendTag
extends MessageOperationTag

Sends a JMS message to some destination.

Version:
$Revision: 155420 $
Author:
James Strachan

Field Summary
private  javax.jms.Message message
          The JMS Message to be sent
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
SendTag()
           
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput output)
           
 javax.jms.Message getMessage()
           
 void setMessage(javax.jms.Message message)
          Sets the JMS message to be sent
 
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

message

private javax.jms.Message message
The JMS Message to be sent

Constructor Detail

SendTag

public SendTag()
Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput output)
           throws org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.JellyTagException

getMessage

public javax.jms.Message getMessage()

setMessage

public void setMessage(javax.jms.Message message)
Sets the JMS message to be sent