Order Cancel Reject Event Handling

In order to handle order cancel reject event. Application needs to hook up the event handler. The event handler is associated with each FIXSessionOrderManager.

    // Prerequisites: Variable "session" of type FIXSession.
    FIXSessionOrderManager sessionOM = FIXOrderManager.getSessionOrderManager(session);
    // Create an order cancel reject event handler
    // See FIXSessionOrderManagerCommonListener.orderCancelRejectAdded for more details.
    sessionOM.addCommonListener(listener);

This example works with FIX versions from 4.1 to 5.0+.