JMS - send a message
Search form
Description - Emits input document to a JMS (Java Messaging Service) Queue or Topic; returns a status document or the original input document as the output document
Runtime Class - com.ibi.agents.XDJMSQEmitAgent
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
Correlation ID Tag: string Name of the element in the input document that holds the Correlation ID to use. Takes precedence over Correlation ID when both are specified.
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
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
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
* Output Document: string Document returned by object
Select from one of the following options:
- Status Document {status} - Returns a status document
- Input Document {original} - Returns the input document of the object.
* - denotes required
Output Events
Runtime Class - com.ibi.agents.XDJMSQEmitAgent
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
Correlation ID Tag: string Name of the element in the input document that holds the Correlation ID to use. Takes precedence over Correlation ID when both are specified.
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
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
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
* Output Document: string Document returned by object
Select from one of the following options:
- Status Document {status} - Returns a status document
- Input Document {original} - Returns the input document of 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 | Correlation ID Tag: | string | Name of the element in the input document that holds the Correlation ID to use. Takes precedence over Correlation ID when both are specified. | 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 | |
---|---|---|---|
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 | |
---|---|---|---|
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 | |
---|---|---|---|
* | Output Document: | string | Document returned by object
Select from one of the following options:
|
* - denotes required
Output Events
Name | Description |
---|---|
OnFailConnection | Could not connect to the external system. |
OnParseError | Could not parse a document. |