This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes How to Invoke Drools REST api to execute rules from External Camel Route in ServiceMix/FuseESB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to Invoke Drools REST api to execute rules from External Camel Route in ServiceMix/FuseESB" Watch "How to Invoke Drools REST api to execute rules from External Camel Route in ServiceMix/FuseESB" New topic
Author

How to Invoke Drools REST api to execute rules from External Camel Route in ServiceMix/FuseESB

vinod bherwal
Greenhorn

Joined: Mar 07, 2013
Posts: 1
Hi,

I am new to drools & CXF, I want to execute Drools Rule from camel-route in ServiceMix 4.4.2. I have done the following things:
1) I have deployed the drools-camel-server(5.5.x) in tomcat and it is successfully running.
2) when I access test.jsp, it shows me response (echo:HelloWorld). It is working successfully as per the response defined in RULE (test.drl).
3) when I access the soap service (http:localhost:8080/drools-server/kservice/soap), it is responding to soap payload

I want to know what is the exact REST URL to access the default rule comes with drools-camel-server and how to invoke it through camel route defined based on blueprint,SpringDSL, or JavaDSL.
anyone please provide the help.

Regards,
Vinod Bherwal
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to Invoke Drools REST api to execute rules from External Camel Route in ServiceMix/FuseESB