[esb-issues] [JBoss JIRA] Commented: (JBESB-2887) facts retracted from session when in stateful mode

Kevin Conner (JIRA) jira-events at lists.jboss.org
Wed Oct 14 09:42:05 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBESB-2887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12489823#action_12489823 ] 

Kevin Conner commented on JBESB-2887:
-------------------------------------

Can you please attach an example showing the issue?

> 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
>
> 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