Hi guys,
we are currently working with Drools Fusion in order to build a complex event processing solution. We've modelled our events using and object (Event) and this object is shared with everyone that needs to publish and event.
Our scenario goes this way
1) Our shared class, located in ar.com.fluxit.Event
2) An example of our cep rules declared in package rules.flux
package rules.flux
import ar.com.fluxit.Event;
declare Event
@role (event)
@expires(1m)
end
rule "hello world"
when
$event:Event( eventName == "Hello World") from entry-point "rules.flux"
then
System.out.println("Hello world");
end
When we change package declaration to package ar.com.fluxit everything works like a charm. But in our cep scenario we need that our ar.com.fluxit.Event object to be user by all rules declared in any package.
So, there goes the question. There is a workaround for this? This is a bug?
Any help would be very appreciated
Cheers
--
Joaquín Díaz Vélez
Flux IT SA
Calle 9 N° 865 - Paseo La Panadería - Planta Alta
La Plata - Buenos Aires - Argentina
Teléfono (+54)
221 553 2980 int 306
www.fluxit.com.ar