Business Processing Queued and Non-Queued Processing Modes

IBM® Sterling B2B Integrator supports two modes for business processes: BP Queued processing and BP Non-Queued processing. It is important to understand the difference between the two modes.

Each mode has specific characteristics:

  • BP Queued mode (default mode) - The process is placed on a business process queue and an available thread executes it. This thread is not the same as the caller thread. BP Queued mode takes advantage of the application's load balancing and scalability features.
  • BP Non-Queued mode - All of the steps in the business process run on the same thread as the caller thread (or the thread where the bootstrapping of the business process has taken effect). This thread will only be released when the business process completes. If there are multiple business processes that need to be bootstrapped by a service or adapter, the processes are executed one at a time until they have all completed. Consequently, if you choose to run in BP Non-Queued mode, no load balancing takes place and there is a potential for performance issues.

Predominantly, business processes need to be configured in BP Queued mode to utilize the system's capabilities. The following are cases where business processes can be processed in BP Non-Queued mode mode:

  • If the business process needs to be processed immediately before the calling adapter finishes its processing executing as part of the caller thread
  • If the business process level transactions need to be part of the parent transaction