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

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.jms.MessageTag
          extended byorg.apache.commons.jelly.tags.jms.ObjectMessageTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class ObjectMessageTag
extends MessageTag

Creates a JMS ObjectMessage

Version:
$Revision: 155420 $
Author:
James Strachan

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ObjectMessageTag()
           
 
Method Summary
protected  javax.jms.Message createMessage()
           
 void setObject(java.io.Serializable object)
          Sets the body of the message, a serializable java object.
 
Methods inherited from class org.apache.commons.jelly.tags.jms.MessageTag
addProperty, doTag, findConnection, getConnection, getMessage, setConnection, setCorrelationID, setReplyTo, setType, setVar
 
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
 

Constructor Detail

ObjectMessageTag

public ObjectMessageTag()
Method Detail

setObject

public void setObject(java.io.Serializable object)
Sets the body of the message, a serializable java object. If this value is not set or the value is null then the content of the tag will be used instead.


createMessage

protected javax.jms.Message createMessage()
                                   throws org.apache.commons.jelly.JellyTagException
Overrides:
createMessage in class MessageTag
Throws:
org.apache.commons.jelly.JellyTagException


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.