Description - Sonic Read Agent

Runtime Class - com.ibi.agents.XDSonicReadAgent


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 the client receipt of a message by successfully returning from a call to receive (synchronous mode) or when the session message listener successfully returns (asynchronous mode).
  • Client Acknowledge {Client_Acknowledge} - An explicit acknowledge on a message acknowledges the receipt of all messages that were produced and consumed by the session that gives the acknowledgement. When a session is forced to recover, it restarts with its first unacknowledged message.
  • Dups OK Acknowledge {Duplicates_OK} - The session slowly acknowledges the delivery of messages to consumers, possibly allowing some duplicate messages after a system outage.
  • Session Transacted {trans} - Specifies that the session should use a local transaction
TimeoutintegerThe timeout period in seconds that the read will await availability of a message on the input queue.
Get Correlation ID as BytesbooleanBytes allows for binary in correlation IDs
* - denotes required
 ParameterTypeDescription
Parse:stringShould the message be parsed as 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
EmbedbooleanWhether to embed the data from the read operation into the input document
TagstringName of the XML tag to wrap the data read in. Required if data is flat
Parent TagstringWhere in the input document the input data should be embedded
Base64 EncodebooleanBase64 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 Document {status} - status document will be the out document.
  • Result Document {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 Document {status} - status document will be the out document.
  • Input Document {input} - in document will become the out document.
* - denotes required

Output Events

NameDescription
onFailParseCould not parse a document.
onFailConnectCould not connect to the external system.
onFailPartnerGeneric or unknown SERVER error. Something occurred between the adapter and the adaptee communication.
onFailOperationCould not perform the operation requested.
onNoMessageNo messages matched the criteria.
onUnknownMesageTypeUnsupported message type.