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

mark.little@jboss.com do-not-reply at jboss.com
Wed Oct 25 04:18:41 EDT 2006


"kurt.stam at jboss.com" wrote : 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,
  | 

Sounds very like Hitchhiker's Guide to the Galaxy ;-)

anonymous wrote : 
  | define the CBR as a Service and register it's ServiceBinding in the Registry
  | 

I'm not sure if it would be a service or some logic within the dispatcher, which could use an external service I suppose.

anonymous wrote : 
  | 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.
  | 

Can you go through the scenario you have in mind?

anonymous wrote : 
  | b. Do we support routing to one or multiple destinations for the next release?
  | 

One would be a good start.

anonymous wrote : 
  | c. Our messages are either of type Serializable or XML, will we support the content based routing of both types (or just XML)?
  | 

Since the message formats can be extended arbitrarily and at runtime, I'd expect the CBR implementation to be suitable extensible too. We provide necessary plugins to support the out-of-the-box message formats we have, and use an architecture that allows others to add their own CBR-handlers at runtime.

anonymous wrote : 
  | 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=3980637#3980637

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



More information about the jboss-dev-forums mailing list