Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 31, 2012 at 6:15 PM, amit <span dir="ltr"><<a href="mailto:amit.aggarwal@pb.com" target="_blank">amit.aggarwal@pb.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am starting with Drools expert
My usecase is to expose the rule written in Drools Expert as webservice.
This webservice can be consumed by some external application.
My question: Is this feasible.
Thanks a lot in advance.
        
        
        
<br></blockquote><div><br>I'm starting to do this. I think it's feasible - I think there should be official support.<br><br>This is my approach:<br>- Since Drools is single-threaded, it should only run on one worker thread<br>
- It will use queues to talk to the web thread - receive objects to insert before the rules are fired, and send objects inserted after the rules are fired.<br>- to send objects, I'm using queries in the DRL file, and a live query to listen for new objects to add to the queue for sending out<br>
<br>Hope this helps (and I hope it's correct!)<br><br>regards,<br>Miguel<br><br></div></div><br></div>