Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Using Broker Clients | Broker Connection Descriptors | Sharing Client State | Event Processing with Shared Client State
 
Event Processing with Shared Client State
You have two options for how the Broker will present events to Broker clients that are sharing the same client state. The default event ordering is called by-publisher and is described on By-Publisher Event Ordering. You can also specify no ordering, as described on Event Processing without Ordering.
The BrokerConnectionDescriptor.getSharedEventOrdering method returns the current event processing order as either BrokerConnectionDescriptor. SHARED_ORDER_NONE or BrokerConnectionDescriptor. SHARED_ORDER_BY_PUBLISHER.
Use the BrokerConnectionDescriptor.setSharedEventOrdering method to specify the event processing order that you want.