[jboss-dev-forums] [Design of JBoss ESB] - Re: Design of a Content Based Routing Service
kurt.stam@jboss.com
do-not-reply at jboss.com
Tue Oct 24 15:22:41 EDT 2006
anonymous wrote : Upgrading to JBossRules 3 will mean rewriting the DSL, which is fine. I haven't looked at how it's done in the new version, but it was dead simple to write a DSL for Drools. What do you mean by "plain java implementation?"
Right, and using the JBossIDE2.0 it seems even easier. We'd like to keep our implemenation POJO based, but I realize that one would like to have only 1 CBR service running, where clients (listeners) connect to. This would make reloading the ruleset more manageable. I'll talk to Mark about this one.
anonymous wrote : Do you want to support a single language for rule matching (e.g. XPath) or leave it open-ended/extensible?
I think it make sense to leave it open-ended. Do you think this would be more work for us?
anonymous wrote : I suppose that would only work if the CBR service returns an action name instead of forwarding the message. Well the CBR could first apply the rules, obtain one or more action/service names, then send messages to each of these destinations.
anonymous wrote : is there even the concept of synchronous and asynchronous messages?
Well I don't think it matter whether or not it is synchroneous, for instance in our loanbroker example we send out the loanrequest to 2 banks and receive 2 quotes. We listen for both quotes to come in, before processing the quotes. Typically the message flow is asynchroneous, and a separete listener (different thread) will listen for a response. However within an action pipeline things go synchronous (things like the transformation of a message into a different format). Hmm.. just thinking out loud here but I think the if the CBR would be at the end of an action pipeline, then mutliple desitinations would be no problem.
Can we conclude that CBR can only happen as the last step in an action pipeline? That seems to make the most sense to me.
Then I thought of some more interesting questions:
- will we use a rules repository (will this be a database? And if so will it have it's own schema?) I think you use an xmlfile, read from an url somewhere right?
- how do you update the rules? You use an mbean for that right?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980502#3980502
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980502
More information about the jboss-dev-forums
mailing list