[esb-issues] [JBoss JIRA] Commented: (JBESB-2887) facts retracted from session when in stateful mode
Kevin Conner (JIRA)
jira-events at lists.jboss.org
Thu Oct 15 13:07:05 EDT 2009
[ https://jira.jboss.org/jira/browse/JBESB-2887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12490076#action_12490076 ]
Kevin Conner commented on JBESB-2887:
-------------------------------------
So can you update your test case to reflect what used to work?
> 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
More information about the esb-issues
mailing list