You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Rahul Akolkar (JIRA)" <ji...@apache.org> on 2006/07/17 20:58:20 UTC

[jira] Updated: (SCXML-2) [scxml] Thread-safety in Executor

     [ http://issues.apache.org/jira/browse/SCXML-2?page=all ]

Rahul Akolkar updated SCXML-2:
------------------------------

    Fix Version/s: 0.5

> [scxml] Thread-safety in Executor
> ---------------------------------
>
>                 Key: SCXML-2
>                 URL: http://issues.apache.org/jira/browse/SCXML-2
>             Project: Commons SCXML
>          Issue Type: Bug
>    Affects Versions: Nightly Builds
>         Environment: Operating System: All
> Platform: All
>            Reporter: Fasihullah
>             Fix For: 0.5
>
>
> Hi
> I am trying to send an event "connection.connected" to the state-machine which
> is in a parallel state. Look at the logs (Removed unnecessary statements), note
> the thread name at the beginning and the final transitions.
> [CALLBACK.4] Current States: [wait-for-orig-connect, wait-for-ivr-connect]
> [CALLBACK.4] Firing
> {name=connection.connected,type=3,payload=com.baypackets.simulator.sipconnector.SIPEndPoint:
> orig-line[100]}
> [CALLBACK.5] Firing
> {name=connection.connected,type=3,payload=com.baypackets.simulator.sipconnector.IVREndPoint:
> ivr-line[msml]}
> [CALLBACK.4] transition (event = connection.connected, cond = _eventdata.ID eq
> 'ivr-line', from =
> /setup-call/create-call/ivr-interaction/ivr-leg/wait-for-ivr-connect, to =
> /setup-call/create-call/ivr-interaction/ivr-leg/ivr-connected)
> [CALLBACK.4] Current States: [wait-for-orig-connect, ivr-connected]
> [CALLBACK.5] Current States: [wait-for-orig-connect, wait-for-ivr-connect]
> [DATAI.0] Current States: [wait-for-orig-connect, wait-for-ivr-connect]
> Three problems:
> 1. The last three lines above: the change that CALLBACK.4 did is overridden by
> CALLBACK.5.
> 2. Callback 4 has a payload of type:orig-line, 
> [CALLBACK.4] Firing
> {name=connection.connected,type=3,payload=com.baypackets.simulator.sipconnector.SIPEndPoint:
> orig-line[100]}
> But
> [CALLBACK.4] transition (event = connection.connected, cond = _eventdata.ID eq
> 'ivr-line', from =
> /setup-call/create-call/ivr-interaction/ivr-leg/wait-for-ivr-connect, to =
> /setup-call/create-call/ivr-interaction/ivr-leg/ivr-connected)
> it thinks that it has an 'ivr-line'???
> 3. Where did the orig line disappear??

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org