Adapter Performance Properties

Hi Friends,

Please any one can tell me meaning of “Broker Document Order Mode” propertty in Performance tab of the Adapter Properties in Adapter Configuration Tool ?

Thanks in advance

Hi, Abdulgani.

Broker Document Order Mode is for multi-threaded adapters. From a webMethods PDF:


[B]Quote:[/b]

Document Order specifies the order in which documents will be distributed to the adapter threads.

There are four valid values:

  1. Queue (default) – All documents are processed in a single thread, in the order in which they are queued on the broker. []Publisher – All documents from the same publisher are processed in a single thread, in the order in which they are queued on the broker. Documents from different publishers are processed in parallel, and execute independently in separate threads. The read-ahead buffer is enabled. If the buffer is full with documents from publishers currently being processed, documents from other publishers are not processed even if there are idle threads. []DocumentType – Documents of different types are processed in the order in which they are queued on the broker. Documents of the same type may execute in parallel, in separate threads. No read-ahead of input documents occurs. Parallel processing occurs only if multiple documents of the same type are received in sequence. For example, consider the document types a and b. Suppose that the queue on the broker contains documents of the types a, a, a, b, a, a. The first three documents of type a are processed in parallel, and then b is processed. The last two type a documents are then processed in parallel. [*]Unordered – No ordering rule is applied to document processing. All documents, even from the same publisher, can execute in parallel. No read-ahead occurs.

<!-/Quote-!>



Hope this helps!

This also applies for multiple adapters/clients connecting to the same shared-state queue. For example, one can have a DB adapter on machine A and another DB adapter on machine B, both with the same name, both using the same client group, both connecting to the same broker.