anonymous wrote : I think the first question to ask is: why multiple destinations? The
answer to that will impact the rest.
I have a ProcessPurchaseOrder document that comes into the system. That document is routed
to the order management system for the supplier identified in the document. Now what I
want to do is send a copy of all ProcessPurchaseOrder documents to a component that will
extract certain information and store it for statistical analysis. It's a separation
of concerns. The listener doesn't need to know anything about the statistical
analysis. Neither does the order management system.
Another example is a document that contains hours worked on a case where the employee
working the case is paid billable time. That document should go to both receivables, so
that the client can be billed, and to payroll, so the employee can be paid.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980756#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...