[jboss-dev-forums] [Design of JBoss ESB] - Re: Design of a Content Based Routing Service

ddunkin do-not-reply at jboss.com
Wed Oct 25 12:32:05 EDT 2006


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#3980756

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980756



More information about the jboss-dev-forums mailing list