...
The canonical message format used to transmit domain objects should be suitable for consumption by non-object-oriented applications.
The mapper code should be implemented separately from both the domain object code and the messaging infrastructure. Our implementation should help fulfill this requirement by providing hooks that can be used to insert mapper code into a route.
The mapper might need to find an effective way of dealing with certain object-oriented concepts such as inheritance, object references, and object trees. The complexity of these issues varies from application to application, but the aim of the mapper implementation must always be to create messages that can be processed effectively by non-object-oriented applications.
Finding objects to map
You can use one of the following mechanisms to find the objects to map:
...