Locking Strategy

The share nothing architecture is used while processing the orders. Each order is mapped to one node and any subsequent event to the order is processed by the same node. JMS message selector is used for routing orders to the correct nodes. If the event message header does not have the routing information, messages are intercepted and routed to an appropriate node by adding the appropriate message selector.