public class MessageEventProducer extends EventProducer
Modifier and Type | Field and Description |
---|---|
protected static Logger |
LOG |
ERROR_EVENT_TRIGGER, MESSAGE_EVENT_PRODUCER, MESSAGE_EVENT_TRIGGER, RULE_EVENT_TRIGGER, SORT_BY_DESC, SORT_BY_ID, SORT_BY_NAME, TERMINATE_EVENT_PRODUCER, TIMER_EVENT_TRIGGER
hiddenAttributes$TRANSIENT
Constructor and Description |
---|
MessageEventProducer()
Constructs a new MessageEventProducer.
|
Modifier and Type | Method and Description |
---|---|
void |
fillInAppianTypes(AppianTypeCache cache_)
Adds the primary keys of any Appian-typed objects that are used by the
mapping of this node to the given cache.
|
java.lang.String |
getBody()
Gets the body of the message that will be sent.
|
java.lang.String |
getMessageType()
Gets the message type (stored in the property mappings at key
InternalMessage.JMS_TYPE_KEY ). |
Mapping[] |
getPropertyMappings()
Gets the property mappings.
|
java.lang.String |
getTopic()
Gets the JMS topic.
|
void |
setBody(java.lang.String body_)
Sets the body of the message that will be sent.
|
void |
setPropertyMappings(Mapping[] propertyMappings_)
Sets the property mappings.
|
void |
setTopic(java.lang.String topic_)
Sets the JMS topic.
|
java.lang.String |
toString() |
createEventProducer, eventProducerClass
getDesc, getHiddenAttributes, getId, getName, getPersistentId, getType, isProducerType, isTriggerType, setDesc, setId, setName, setPersistentId, setType
public MessageEventProducer()
EventProducer.createEventProducer(Long)
.public java.lang.String getBody()
setBody(String)
public void setBody(java.lang.String body_)
body_
- the bodygetBody()
public Mapping[] getPropertyMappings()
setPropertyMappings(Mapping[])
public void setPropertyMappings(Mapping[] propertyMappings_)
null
, both are set to empty arrays.propertyMappings_
- the property mappingsgetPropertyMappings()
public java.lang.String getTopic()
setTopic(String)
public void setTopic(java.lang.String topic_)
com.appiancorp.suiteapi.messaging.MessagingProperties#PROCESS_TOPIC
to send a message to Appian Process.topic_
- the JMS topicgetTopic()
public java.lang.String getMessageType()
InternalMessage.JMS_TYPE_KEY
).public void fillInAppianTypes(AppianTypeCache cache_)
cache_
- the cache that will hold the valuesCopyright © 2003-2024 Appian Corporation. All Rights Reserved.