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

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.tags.jms.MessageTag
              |
              +--org.apache.commons.jelly.tags.jms.ObjectMessageTag
All Implemented Interfaces:
Tag

public class ObjectMessageTag
extends MessageTag

Creates a JMS ObjectMessage

Version:
$Revision: 1.1 $
Author:
James Strachan

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, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, 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 java.lang.Exception
Overrides:
createMessage in class MessageTag


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