[
https://jira.jboss.org/jira/browse/JBESB-2887?page=com.atlassian.jira.plu...
]
Jaroslaw Kijanowski commented on JBESB-2887:
--------------------------------------------
Just a side note - it doesn't matter if I use entry-points.
facts retracted from session when in stateful mode
--------------------------------------------------
Key: JBESB-2887
URL:
https://jira.jboss.org/jira/browse/JBESB-2887
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.6
Environment: trunk rev 29538
Reporter: Jaroslaw Kijanowski
Attachments: cep.zip
I have a simple rule:
when
$si:SensorInfo($id:id) from entry-point "SensorEntryPoint"
$s:Sensor(id == $id) from entry-point "SensorEntryPoint"
then
System.out.println("SI = "+$si.getAvg()+"; S = "+$s.getValue());
end
The BRP is configured in stateful mode.
The first message is sent. This sets 'dispose' and 'continue' to false
and adds 2 objects (Sensor and SensorInfo) to the body.
Rule fire.
The second message is sent. This sets 'dispose' to false and 'continue'
to true and adds 1 object (Sensor) to the body.
Rule does not fire, but should.
The third message is sent. This sets 'dispose' and 'continue' to true and
adds 1 object (Sensor) to the body.
Rule does not fire, but should.
It looks like the SensorInfo object has been removed from the session, hence the rule did
not fire.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira