ActiveMQ - send a message
Search form
Description - Emits a message to an ActiveMQ queue or topic
Runtime Class - com.ibi.agents.XDActiveMQEmitAgent
Configuration
This action requires a Generics Configuration as well as the following required parameters.
Parameter Groups
Parameter Type Description
Correlation ID: string Value of the JMSCorrelationID header field
Priority: integer Outgoing message priority. Value must be between 0 and 9, with 9 most expedited. If omitted uses incoming priority.
Type: string Class of message sent. Dynamic will select BytesMessage, TextMessage or MapMessage depending on the document contents.
Select from one of the following options:
- BytesMessage {bytes}
- Dynamic {dynamic}
- MapMessage {map}
- TextMessage {text}
* - denotes required
Parameter Type Description
ReplyTo: string Value of the JMSReplyTo header field
Type: string Value of the JMSType header field
Protocol: string Special register namespace from which protocol headers for the outbound request will be taken.
Select from one of the following options:
- Default Namespace {default}
- None {none}
* - denotes required
Parameter Type Description
Acknowledgement: string Makes the JMS Session transactional or else specifies how received messages are acknowledged
Select from one of the following options:
- Auto Acknowledge {auto} - the session automatically acknowledges a client's receipt of a message when it has either successfully returned from a call to receive or the message listener it has called to process the message successfully returns.
- Client Acknowledge {client} - the client acknowledges a message by calling a message's acknowledge method.
- Dups OK Acknowledge {dupsok} - Instructs the session to lazily acknowledge the delivery of messages.
- Session Transacted {trans} - Specifies that the session should use a local transaction
Delivery Mode: string Non-Persistent mode has low overhead but may lose messages. Persistent mode takes extra care to ensure the message is not lost in transit but makes no absolute guarantee.
Select from one of the following options:
- Non-Persistent {1}
- Persistent {2}
Time to Live: integer The message's lifetime (in milliseconds), default will live forever
Delivery Delay: integer Minimum length of time in milliseconds that must elapse after a message is sent before the JMS provider may deliver the message to a consumer. JMS 2 only.
* - denotes required
Parameter Type Description
Return Document: string Type of output from this service.
Select from one of the following options:
- Status document {status} - Returns a status document.
- Input document {input} - Returns the document passed into the object.
* - denotes required
Output Events
Runtime Class - com.ibi.agents.XDActiveMQEmitAgent
Configuration
This action requires a Generics Configuration as well as the following required parameters.
Parameter Groups
Parameter Type Description
Correlation ID: string Value of the JMSCorrelationID header field
Priority: integer Outgoing message priority. Value must be between 0 and 9, with 9 most expedited. If omitted uses incoming priority.
Type: string Class of message sent. Dynamic will select BytesMessage, TextMessage or MapMessage depending on the document contents.
Select from one of the following options:
- BytesMessage {bytes}
- Dynamic {dynamic}
- MapMessage {map}
- TextMessage {text}
* - denotes required
Parameter Type Description
ReplyTo: string Value of the JMSReplyTo header field
Type: string Value of the JMSType header field
Protocol: string Special register namespace from which protocol headers for the outbound request will be taken.
Select from one of the following options:
- Default Namespace {default}
- None {none}
* - denotes required
Parameter Type Description
Acknowledgement: string Makes the JMS Session transactional or else specifies how received messages are acknowledged
Select from one of the following options:
- Auto Acknowledge {auto} - the session automatically acknowledges a client's receipt of a message when it has either successfully returned from a call to receive or the message listener it has called to process the message successfully returns.
- Client Acknowledge {client} - the client acknowledges a message by calling a message's acknowledge method.
- Dups OK Acknowledge {dupsok} - Instructs the session to lazily acknowledge the delivery of messages.
- Session Transacted {trans} - Specifies that the session should use a local transaction
Delivery Mode: string Non-Persistent mode has low overhead but may lose messages. Persistent mode takes extra care to ensure the message is not lost in transit but makes no absolute guarantee.
Select from one of the following options:
- Non-Persistent {1}
- Persistent {2}
Time to Live: integer The message's lifetime (in milliseconds), default will live forever
Delivery Delay: integer Minimum length of time in milliseconds that must elapse after a message is sent before the JMS provider may deliver the message to a consumer. JMS 2 only.
* - denotes required
Parameter Type Description
Return Document: string Type of output from this service.
Select from one of the following options:
- Status document {status} - Returns a status document.
- Input document {input} - Returns the document passed into the object.
* - denotes required
Output Events
Configuration
This action requires a Generics Configuration as well as the following required parameters.Parameter Groups
Parameter | Type | Description | |
---|---|---|---|
Correlation ID: | string | Value of the JMSCorrelationID header field | Priority: | integer | Outgoing message priority. Value must be between 0 and 9, with 9 most expedited. If omitted uses incoming priority. | Type: | string | Class of message sent. Dynamic will select BytesMessage, TextMessage or MapMessage depending on the document contents.
Select from one of the following options:
|
* - denotes required
Parameter | Type | Description | |
---|---|---|---|
ReplyTo: | string | Value of the JMSReplyTo header field | Type: | string | Value of the JMSType header field | Protocol: | string | Special register namespace from which protocol headers for the outbound request will be taken.
Select from one of the following options:
|
* - denotes required
Parameter | Type | Description | |
---|---|---|---|
Acknowledgement: | string | Makes the JMS Session transactional or else specifies how received messages are acknowledged
Select from one of the following options:
|
Delivery Mode: | string | Non-Persistent mode has low overhead but may lose messages. Persistent mode takes extra care to ensure the message is not lost in transit but makes no absolute guarantee.
Select from one of the following options:
|
Time to Live: | integer | The message's lifetime (in milliseconds), default will live forever | Delivery Delay: | integer | Minimum length of time in milliseconds that must elapse after a message is sent before the JMS provider may deliver the message to a consumer. JMS 2 only. |
* - denotes required
Parameter | Type | Description | |
---|---|---|---|
Return Document: | string | Type of output from this service.
Select from one of the following options:
|
* - denotes required
Output Events
Name | Description |
---|---|
onFailConnect | Could not connect to the external system. |