Looking at the 6.x docs, I'm not sure that you need to define those ahead of time, but I haven't attempted it:

http://docs.jboss.org/drools/release/6.0.0.Beta2/drools-fusion-docs/html/ch02.html#d0e514

"Entry points are declared implicitly in Drools by directly making use of them in rules. I.e. referencing an entry point in a rule will make the engine, at compile time, to identify and create the proper internal structures to support that entry point."


On Mon, Jun 23, 2014 at 11:34 AM, rjr201 <rich.j.riley@gmail.com> wrote:
Hi,

Does anyone know of a simple (complete) working example of a Drools Fusion
project using Drools 6?

My kModule.xml file so far looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<kmodule
xmlns="http://jboss.org/kie/6.0.0/kmodule">

<kbase name="KBase1" default="false" eventProcessingMode="stream"
equalsBehavior="equality" declarativeAgenda="enabled"
packages="org.domain.pkg2, org.domain.pkg3" includes="KBase1">

    <ksession name="KSession1" type="stateful" default="false"
clockType="realtime">

    </ksession>
</kbase>

</kmodule>

However, I think I need to define an entryPoint in the kmodule.xml.. but
can't find an example of how to do this.

If anyone can point me to an example it would be greatly appreciated.

Cheers,
Rich



--
View this message in context: http://drools.46999.n3.nabble.com/Drools-6-Fusion-Example-tp4030139.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users