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

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

public class MapMessageTag
extends MessageTag

Creates a JMS MapMessage

Version:
$Revision: 155420 $
Author:
James Strachan

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
MapMessageTag()
           
 
Method Summary
 void addEntry(java.lang.String name, java.lang.Object value)
           
protected  javax.jms.Message createMessage()
           
 void setMap(java.util.Map map)
          Sets the Map of entries to be used for this Map Message
 
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

MapMessageTag

public MapMessageTag()
Method Detail

addEntry

public void addEntry(java.lang.String name,
                     java.lang.Object value)
              throws org.apache.commons.jelly.JellyTagException
Throws:
org.apache.commons.jelly.JellyTagException

setMap

public void setMap(java.util.Map map)
            throws org.apache.commons.jelly.JellyTagException
Sets the Map of entries to be used for this Map Message

Throws:
org.apache.commons.jelly.JellyTagException

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.