Description - Reads and parses JMS records

Runtime Class - com.ibi.agents.XDJMSReadAgent


Configuration

This action requires a Generics Configuration as well as the following required parameters.

Parameter Groups

 ParameterTypeDescription
Acknowledgement:stringMakes the JMS Session transactional or else specifies how received messages are acknowledged

Select from one of the following options:
  • Auto Acknowledge {Auto_Acknowledge} - 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_Acknowledge} - the client acknowledges a message by calling a message's acknowledge method.
  • Dups OK Acknowledge {Duplicates_OK} - Instructs the session to lazily acknowledge the delivery of messages.
  • Session Transacted {trans} - Specifies that the session should use a local transaction
Timeout:integerThe timeout period in seconds that the read will await availability of a message on the input queue.
Get Correlation ID as Bytes:booleanBytes allows for binary in correlation IDs
* - denotes required
 ParameterTypeDescription
Parse:stringShould the agent attempt to parse the input in a specific format

Select from one of the following options:
  • As Is {flat} - Do not parse the input
  • XML {xml} - Parse as XML
  • JSON {json} - Parse as JSON
Selector:stringIf used, input is filtered by this selector
* - denotes required
 ParameterTypeDescription
Embed:booleanWhether to embed the data from the read operation into the input document
Tag:stringName of the XML tag to wrap the data read in. Required if data is flat
Parent Tag:stringWhere in the input document the input data should be embedded
Base64 Encode:booleanBase64 encode the read in document when embedding
* - denotes required
 ParameterTypeDescription
Namespace:stringSpecial register namespace into which protocol headers from the incoming request will be saved.

Select from one of the following options:
  • Default Namespace {default}
* - denotes required
 ParameterTypeDescription
Return Document:stringDetermines the output document, select status for a status document, or select results for the message read.

Select from one of the following options:
  • status - status document will be the out document.
  • results {result} - message read will become the out document.
Action on Failure:stringWhether input document or status document returned on failure.

Select from one of the following options:
  • status - status document will be the out document.
  • input - in document will become the out document.
* - denotes required

Output Events

NameDescription
OnParseErrorCould not parse a document.
OnFailConnectionCould not connect to the external system.
OnFailPartnerGeneric or unknown SERVER error. Something occurred between the adapter and the adaptee communication.
OnFailedOperationCould not perform the operation requested.
onNoMessageNo messages matched the criteria.
OnUnknownMesageTypeUnsupported message type.