The Ops Adapter
The design of the solution is to pass, where possible, problematic messages and errors to operations systems that make a decision about fixing the error or terminating the order. The Ops adapter, combined with the new error reporting feature, handles many of these cases.
The solution uses the adapter on a port configured to use the new error reporting feature. When it receives an error, the adapter calls two methods, Initialize and Execute, on a class in a specified assembly. In the solution, these methods send the error to the correct operations group.
The solution includes a sample handler, although you can easily write your own and use the adapter in other solutions. For general information about the new error reporting feature, see Using Failed Message Routing.
Note
The Ops adapter is built using the Adapter Framework. For information about building adapters with the framework, see Developing Custom Adapters.
This section describes how the adapter works and how to configure it, and provides details about the error handler assemblies. The section concludes with implementation details that would be helpful to users who wish to modify the adapter or use it in other applications.