[ 
https://issues.apache.org/jira/browse/ODE-417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vittorio Ballestra updated ODE-417:
-----------------------------------

    Attachment: sample-failing-sa.tar.bz2

A Simple project to easily reproduce the problem

> MessageExchange Failure not handled correctly (with OPENJPA)
> ------------------------------------------------------------
>
>                 Key: ODE-417
>                 URL: https://issues.apache.org/jira/browse/ODE-417
>             Project: ODE
>          Issue Type: Bug
>          Components: BPEL Runtime
>    Affects Versions: 1.2, 1.3
>         Environment: SERVICEMIX + ODE-JBI-1.2-SNAPSHOT WITH EXTERNAL 
> DATASOURCE (MySql)
>            Reporter: Vittorio Ballestra
>         Attachments: patch.txt, sample-failing-sa.tar.bz2
>
>
> Way to reproduce this behaviour:
> 1) create a simple process that makes an InOut exchange with some service on 
> a JBI bus.
> 2) let this service reply with an error (not a fault)
> If sendSync is true the exchange is set in FAILURE state.
> If sendSync is false the exchange is left in ASYNC state.
> Stepping in debug mode you can see that the exchange is set in FAILURE state 
> but this change is not persisted to database. When the async processor 
> reloads the MessageExchange from DB it is still in ASYNC state.
> Tried a naive patch that makes a "flush" of the entity-manager just after 
> setting the state to FAILURE but it hangs. Still indagating.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to