Batch Message Processing

Your implementation may be required to send messages to the same destination as a single XML file with multiple messages include. The following points describe this logic:

  • The individual messages that should be grouped together must have a processing method of batch on the external system / outbound message type record. The appropriate batch code that is responsible for grouping the messages must also be provided.

  • A separate "consolidated message" outbound message type should be configured for the external system with a processing method of SOA.

  • When outbound message records are created for the individual messages, the batch code and current batch run number are stamped on the record.

  • When the batch process runs it is responsible for building the XML file that is a collection of the individual messages. This batch process should include the following steps:

    • Format appropriate header information for the collection of messages

    • Apply the individual message XSL to each message before including the message

    • Insert a new outbound message for the external system with the "consolidated message" outbound message type.

  • The consolidated message is ready to be processed by Oracle Service Bus.

Note: No process provided. The system does not supply any sample batch job that does the above logic.