| java.lang.Object com.opensymphony.workflow.util.JMSMessage
JMSMessage | public class JMSMessage implements FunctionProvider(Code) | | Sends out a JMS TextMessage to a specified Queue or Topic. The following arguments
are expected:
- queue-factory-location - the location to be passed to InitialContext.lookup
- queue-location - the location to be passed to InitialContext.lookup
- topic-factory-location - the location to be passed to InitialContext.lookup
- topic-location - the location to be passed to InitialContext.lookup
- text - the text message to be included in this JMS message
Also, please note that the entire set of properties will be passed through to the
constructor for InitialContext, meaning that if you need to use an
InintialContextFactory other than the default one, you are free to include arguments
that will do so.
Also note that all arguments are also passed to the TextMessage using
setObjectProperty(), except for "text" which is set using setText(). An extra
property is always added to denote the workflow entry for this message. This is
stored as a long property, with the name 'workflowEntry'.
author: Hani Suleiman |
Method Summary | |
public void | execute(Map transientVars, Map args, PropertySet ps) |
execute | public void execute(Map transientVars, Map args, PropertySet ps)(Code) | | |
|
|