Thursday, August 4, 2011

Throttling JMS message in JMS Adapter

Sometimes you need to throttle the JMS messages that will be processed by BPEL instances. For example you may need to consume the next message only after the BPEL instance finish the current message. You can achieve this by making one-way consume operation into two-way consume operation so the consume is not finished until a reply is generated. The next JMS message will consumed only after the processing of previous message is finished.

The original WSDL is like:

This added output message must be a empty message. So the modified WSDL will be as the below:


1 comment:

  1. Can this done if the BPEL process which is consuming is one-way?

    ReplyDelete