|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JmsAction
Publishes a JMS message to a JMS queue or JMS topic.
Method Summary | |
---|---|
java.lang.Object |
getBody()
Returns the body of the message. |
java.lang.String |
getConnectionFactory()
Returns the JMS queue or topic factory. |
java.lang.String |
getCorrelationId()
Returns the JMS correlation ID for this JMS message. |
java.lang.String |
getDestinationName()
Returns the name of the destination (queue or topic) for this JMS message. |
JmsMessageType |
getMessageType()
Returns the kind of JMS message to be sent. |
int |
getPriority()
Returns the JMS priority of this JMS message. |
java.util.Map |
getProperties()
Returns the message properties. |
java.lang.String |
getReplyToName()
Returns the name of the JMS reply-to destination (queue or topic) for this JMS message. |
long |
getTimeToLive()
Returns the JMS time-to-live for this JMS message. |
java.lang.String |
getType()
Returns the JMS type for this JMS message. |
boolean |
isDeliveryModePersistent()
Indicates whether this JMS message is delivered as a persistent or non-persistent message. |
boolean |
isQueueMessages()
Indicates whether this JMS action sends JMS queue messages or JMS topic messages. |
void |
setBody(java.lang.Object body)
Sets the body of the message. |
void |
setConnectionFactory(java.lang.String connectionFactory)
Sets the JMS queue or topic factory. |
void |
setCorrelationId(java.lang.String correlationId)
Sets the JMS correlation ID for this JMS message. |
void |
setDeliveryModePersistent(boolean deliveryModePersistent)
Sets whether this JMS message is delivered as a persistent or non-persistent message. |
void |
setDestinationName(java.lang.String destinationName)
Sets the name of the destination (queue or topic) for this JMS message. |
void |
setMessageType(JmsMessageType messageType)
Sets the kind of JMS message to be sent. |
void |
setPriority(int priority)
Sets the JMS priority of this JMS message. |
void |
setProperties(java.util.Map properties)
Sets the message properties. |
void |
setQueueMessages(boolean queueMessages)
Sets whether this JMS action sends JMS queue messages or JMS topic messages. |
void |
setReplyToName(java.lang.String replyToName)
Sets the name of the JMS reply-to destination (queue or topic) for this JMS message. |
void |
setTimeToLive(long timeToLive)
Sets the JMS time-to-live for this JMS message. |
void |
setType(java.lang.String type)
Sets the JMS type for this JMS message. |
Methods inherited from interface flux.j2ee.J2eeAction |
---|
getExtraInitialContextProperties, getInitialContextFactory, getPassword, getProviderUrl, getUsername, setExtraInitialContextProperties, setInitialContextFactory, setPassword, setProviderUrl, setUsername |
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap |
---|
getRuntimeDataMap, setRuntimeDataMap |
Method Detail |
---|
java.lang.Object getBody()
java.lang.String getConnectionFactory()
java.lang.String getCorrelationId()
java.lang.String getDestinationName()
JmsMessageType getMessageType()
int getPriority()
java.util.Map getProperties()
java.lang.String getReplyToName()
long getTimeToLive()
java.lang.String getType()
boolean isDeliveryModePersistent()
boolean isQueueMessages()
void setBody(java.lang.Object body)
body
- The body of the message.void setConnectionFactory(java.lang.String connectionFactory)
connectionFactory
- The JMS queue or topic factory.void setCorrelationId(java.lang.String correlationId)
correlationId
- The JMS correlation ID for this JMS message.void setDeliveryModePersistent(boolean deliveryModePersistent)
deliveryModePersistent
- Whether this JMS message is delivered as a
persistent or non-persistent message.void setDestinationName(java.lang.String destinationName)
destinationName
- The name of the destination (queue or topic) for
this JMS message.void setMessageType(JmsMessageType messageType)
messageType
- The kind of JMS message to be sent.void setProperties(java.util.Map properties)
properties
- The message properties. Each key must be a non-null and
non-empty string. Each value must be a Java primitive or
a string.void setQueueMessages(boolean queueMessages)
queueMessages
- Whether this JMS action sends JMS queue messages or
JMS topic messages.void setPriority(int priority)
priority
- The priority of this JMS message.void setReplyToName(java.lang.String replyToName)
replyToName
- The name of the JMS reply-to destination (queue or
topic) for this JMS message.void setTimeToLive(long timeToLive)
timeToLive
- The JMS time-to-live for this JMS message.void setType(java.lang.String type)
type
- The JMS type for this JMS message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |