[jboss-dev-forums] [Design of JBoss ESB] - Re: Drools 5.0.1GA upgrade

jeffdelong do-not-reply at jboss.com
Tue May 26 10:52:18 EDT 2009


Glad to see you are upgrading to Drools 5.0.1.GA.

I suspect the problem is in the Smooks transformation.

If you look at the smooks-res.xml (well at least the one in SOA-P-4.3.CP01 quickstarts), if has the param "setOn" specified for the Customer to set it on the OrderHeader.

I believe this might have changed with recent versions of Smooks, although I though it was deprecated and still allowed (at least with Smooks in SOA-P-4.3.CP01). I can't remember off hand the new was to set a relationship with Smooks.

Also, the SetupMessage class does not have to add the customer and orderHeader to the messsage. Instead, the SmooksAction can use the setPayloadLocation to something like orderPayload, and then the object-paths in the BusienssRulesProcessor action can specify body.orderPayload.TheCustomer, etc.

Setting the dispose and continue property would still be required, and could be done in the SetupMessage class or in a groovy script.

When you have a chance I would like to talk with you about how to support the new CEP features in Drools 5.0.1.GA. It is the "real way" to do stateful rules of the type this quickstart is intended to illustrate.

Jeff

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

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



More information about the jboss-dev-forums mailing list