In this next recipe we will consider a common design pattern for processing a list of independent messages in a batch. In this scenario, a synchronous web service implemented in OSB will accept a list of messages and respond almost immediately with a response to indicate that the message was successfully received. Meanwhile, each of the individual messages will be queued for asynchronous processing by another service.
This recipe also assumes that the downstream, one-way service for processing individual messages from the batch has already been written using OSB.
This example builds on the result of the previous recipe, the
"BookOrder" dynamic routing service. A sample completed version of this service ...