The receiver can call the Receiver Framework to invoke receiver handlers at three stages, called configuration points, during the receiver processing flow: preprocessing, sync checking, and postprocessing. Preprocessing returns one or more receiver documents. Preprocessing can be used to process the document before submitting it to WebSphere Partner Gateway for processing. It can also be used for splitting an incoming document from a trading partner. The sync-check handler determines whether the document is to be processed as a synchronous or asynchronous request. Postprocessing provides necessary processing for response documents that are returned from Document Manager as a result of a synchronous request.
The Framework relies on handlers to execute these processing requests. You can develop handlers to satisfy your specific needs, using APIs that ship with WebSphere Partner Gateway. After you write and deploy the handlers, you need to configure them by using the Community Console. For further information about this process, see the Hub Configuration Guide.