public class MessageEventTrigger extends EventTrigger
InternalMessage
).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 |
---|
MessageEventTrigger()
Constructs a new MessageEventTrigger.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getActiveForLifeOfProcess()
Gets whether the trigger, once activated, should remain active for the
life of the process, even if it is fired.
|
java.lang.String |
getMessageType()
Gets the message type (this corresponds with the JMSType message property
for incoming messages; see
InternalMessage#getMessageType() ). |
void |
setActiveForLifeOfProcess(boolean activeForLifeOfProcess_)
Sets whether the trigger, once activated, should remain active for the
life of the process, even if it is fired.
|
void |
setMessageType(java.lang.String messageType_)
Sets the message type (this corresponds with the JMSType message property
for incoming messages; see
InternalMessage#getMessageType() ). |
createEventTrigger, getOutputs, getRules, setOutputs, setRules
getDesc, getHiddenAttributes, getId, getName, getPersistentId, getType, isProducerType, isTriggerType, setDesc, setId, setName, setPersistentId, setType, toString
public MessageEventTrigger()
EventProducer.createEventProducer(Long)
.public boolean getActiveForLifeOfProcess()
setActiveForLifeOfProcess(boolean)
public void setActiveForLifeOfProcess(boolean activeForLifeOfProcess_)
activeForLifeOfProcess_
- whether it should remain active for the
life of the processgetActiveForLifeOfProcess()
public java.lang.String getMessageType()
InternalMessage#getMessageType()
). Message
types are registered in /process/conf/message-types.xml.setMessageType(String)
public void setMessageType(java.lang.String messageType_)
InternalMessage#getMessageType()
).messageType_
- the message typegetMessageType()
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.