Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[bpel-dev] onEvent in a Scope, does it work?

Hi All,

I have to develop a process that can receive some message (onEvent) while the scope is active. I was developing some simple processes and they weren't working. I don't know if my question is related with BPEL Designer or with the Ode server.

An process example is attached, it is quite simple. I just put a wait activity into a Scope activity, and this Scope activity has an onEvent (fireEvent). When I invoke the fireEvent while the Scope is active, the error message at the bottom of this email appears.

My problem is similar to this one:
https://wso2.org/jira/browse/CARBON-11124 

This project uses the Ode server and the BPEL Designer (I guess). My question is: does the onEvent in Scope work? If yes, can someone send me an example (if possible)? If not, is it a problem of the BPEL Designer or of the Ode?

By the way, the onMessage in a Pick activity is working fine. I tested it and it wokrs.

Thanks in advance,
Neto

The error message:

13:25:26,330 ERROR [ODEService] Timeout or execution error when waiting for response to MEX {MyRoleMex#hqejbhcnphr6nan25q1vho [Client hqejbhcnphr6nan25q1vhn] calling {http://precise.ac.be}ProcessTest.fireEvent(...)} java.util.concurrent.TimeoutException: Message exchange org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@78df42ce timed out(120000 ms) when waiting for a response!

java.util.concurrent.TimeoutException: Message exchange org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture@78df42ce timed out(120000 ms) when waiting for a response!

at org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl$ResponseFuture.get(MyRoleMessageExchangeImpl.java:245)
at org.apache.ode.axis2.ODEService.onAxisMessageExchange(ODEService.java:161)
at org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:69)
at org.apache.ode.axis2.hooks.ODEMessageReceiver.invokeBusinessLogic(ODEMessageReceiver.java:52)
...

Attachment: Example_Process.bpel
Description: Binary data


Back to the top