org.apache.commons.jelly.tags.jms
Class MessageOperationTag
java.lang.Object
|
+--org.apache.commons.jelly.TagSupport
|
+--org.apache.commons.jelly.tags.jms.MessageOperationTag
- All Implemented Interfaces:
- ConnectionContext, Tag
- Direct Known Subclasses:
- ReceiveTag, SendTag
- public abstract class MessageOperationTag
- extends TagSupport
- implements ConnectionContext
An abstract base class for JMS Message operation tags such as send, receive or call.
- Version:
- $Revision: 1.1 $
- Author:
- James Strachan
Method Summary |
protected org.apache.commons.messenger.Messenger |
findConnection()
|
org.apache.commons.messenger.Messenger |
getConnection()
|
javax.jms.Destination |
getDestination()
|
void |
setConnection(org.apache.commons.messenger.Messenger connection)
Sets the Messenger (the JMS connection pool) that will be used to send the message |
void |
setDestination(javax.jms.Destination destination)
Sets the JMS destination to be used by this tag |
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 |
Methods inherited from interface org.apache.commons.jelly.Tag |
doTag |
MessageOperationTag
public MessageOperationTag()
getConnection
public org.apache.commons.messenger.Messenger getConnection()
throws JellyException,
javax.jms.JMSException
- Specified by:
getConnection
in interface ConnectionContext
setConnection
public void setConnection(org.apache.commons.messenger.Messenger connection)
- Sets the Messenger (the JMS connection pool) that will be used to send the message
getDestination
public javax.jms.Destination getDestination()
setDestination
public void setDestination(javax.jms.Destination destination)
- Sets the JMS destination to be used by this tag
findConnection
protected org.apache.commons.messenger.Messenger findConnection()
throws JellyException,
javax.jms.JMSException
Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.