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

kurt.stam@jboss.com do-not-reply at jboss.com
Tue Oct 24 11:46:00 EDT 2006


I've been looking at the donated cbr code (see http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86937, thx for that btw :)) and I think that for us to use it we need to make the following changes:

1. Technology:
a. upgrade to the latest JBossRules (3.x)
b. move towards the new java-like rules definition
c. move to a plain java implementation

2. Integration
a. Name the CBR as an action and define a processor for it, or in the architecture to come, define the CBR as a Service and register it's ServiceBinding in the Registry
b. Add the CBR action as a (routing) action in the action chain.

3. Questions
a. Should the CBR service return a service/action name, or should it actually forward the message straight to it.
b. Do we support routing to one or multiple destinations for the next release?
c. Our messages are either of type Serializable or XML, will we support the content based routing of both types (or just XML)?
d. What happens when no rules match? Do we have to create a 'catch all' rule, or is it ok to return 'sorry'. What will happen next? Will the message simply go to the next action?

Dave I'd love to hear your, or anyone elses, thoughts on any of this.

--Kurt


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980422#3980422

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



More information about the jboss-dev-forums mailing list