[jboss-dev-forums] [JBoss ESB Development] - Re: XPath Routing
tfennelly
do-not-reply at jboss.com
Wed Sep 23 11:04:30 EDT 2009
"mvecera at redhat.com" wrote : Yes, exactly. Here is a sample scenario:
| * A message contains an order. Each order item carries a store code and a weight.
| * For minimizing postage cost, a custom action will compose an XPath query that points to the store code of the heaviest item in the order.
| * CBR will use this query to route the message to the corresponding store for process.
|
| Does it make sense?
I understand what you're proposing, but I don't really see the benefit of it yet.
1. Why can't these routing expressions be defined with the CBR action Vs on the incoming message? What use case would not be supported?
2. If the invoking client is specifying the CBR expression to be used by the CBR, then does it not make the CBR step a bit redundant... why can't the client effectively perform the CBR?
3. From a logic standpoint, it seems to me that the appropriate place for the CBR rules is in/with the CBR action.
4. Security??
Martin, would you be OK with putting this one on the back boiler for now? We can always add it later.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256675#4256675
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256675
More information about the jboss-dev-forums
mailing list