drools-server is just an example of how to use drools in camel end-points. If you look how the example defines WS and RS end points, it's the same but just specifing a different data feed, i.e. file instead of WS/RS.<br>
<br>There is also some documentation on using camel here:<br><a href="http://docs.jboss.org/drools/release/5.3.0.Final/droolsjbpm-integration-docs/html_single/index.html">http://docs.jboss.org/drools/release/5.3.0.Final/droolsjbpm-integration-docs/html_single/index.html</a><br>
<br>If the documentation is not currently enough, please send in a patch to improve it and we'll add it.<br><br>Mark<br><br><div class="gmail_quote">On Mon, Nov 21, 2011 at 8:46 AM, esstrata <span dir="ltr"><<a href="mailto:esstrata@yahoo.es">esstrata@yahoo.es</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
we're refactoring a standalone application (Spring 3.0.5, Drool 5.1.1) to<br>
use Apache Camel 2.8.0. As seen in other post, there is very little<br>
information available about (<br>
<a href="http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-integration/html/index.html" target="_blank">http://downloads.jboss.com/drools/docs/5.1.1.34858.FINAL/drools-integration/html/index.html</a><br>
Drools Endpoint or Camel integration ). We don't want to use drools-server<br>
as having a web container is not an option.<br>
<br>
The app basically loads from large CSV files, processes each row with lots<br>
of rules and inserts the result in a DB. It is therefore a pretty demanding<br>
process.<br>
<br>
Here is an excerpt of what it does without Camel:<br>
/<br>
while (scanner.hasNextLine()) {<br>
...<br>
FactHandle trafficHandle = session.insert(row);<br>
session.fireAllRules();<br>
session.retract(trafficHandle);<br>
}<br>
/<br>
What we'd like to achieve is performing the above loop content in an<br>
endpoint/processor (?) and configure it to use multiple threads so several<br>
rows can be handled simultaneously.<br>
<br>
Any sugestions?.<br>
<br>
Thank you<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://drools.46999.n3.nabble.com/Camel-Endpoint-usage-strategy-tp3524173p3524173.html" target="_blank">http://drools.46999.n3.nabble.com/Camel-Endpoint-usage-strategy-tp3524173p3524173.html</a><br>
Sent from the Drools: User forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></span></blockquote></div><br>