You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ode.apache.org by Andriotto Massimiliano <ma...@necsy.it> on 2010/10/11 10:33:31 UTC

MEX timeout in servicemix

Hi,

In servicemix (I'm using apache-servicemix-4.3.0-fuse-01-00) , Ode 1.3.4
uses mex.timeout set to 120000ms.

If I deploy ode axis, I can change the mex timeout. 

How can I change/set the mex timeout when I use ode inside servicemix?

Can it be changed?

What's the name of the property ?

 

Thank you

 

Massimiliano Andriotto

 


RE: MEX timeout in servicemix

Posted by "Nowakowski, Mateusz" <Ma...@sabre-holdings.com>.
-Dorg.apache.ode.jbi.timeout=80000 

(in ms)

However I would treat it as "the last line of defense" and implement or use own mechanism to support timeouts.
The timeouts are threaded by ODE engine as "internal errors" and you catch them only via "catch all".
However I may be wrong, my knowledge bases on ODE 1.2.

PS. There is latter version,The apache-servicemix-4.3.0-fuse-02-00 has been released recently.

-- 
Regards,
Mateusz Nowakowski

-----Original Message-----
From: Andriotto Massimiliano [mailto:massimiliano.andriotto@necsy.it] 
Sent: Monday, October 11, 2010 10:34 AM
To: dev@ode.apache.org
Subject: MEX timeout in servicemix

Hi,

In servicemix (I'm using apache-servicemix-4.3.0-fuse-01-00) , Ode 1.3.4
uses mex.timeout set to 120000ms.

If I deploy ode axis, I can change the mex timeout. 

How can I change/set the mex timeout when I use ode inside servicemix?

Can it be changed?

What's the name of the property ?

 

Thank you

 

Massimiliano Andriotto

 


Re: MEX timeout in servicemix

Posted by Tammo van Lessen <tv...@gmail.com>.
Hi,

actually, if you come to a point where you think you would need to
increase the mex timeout, you're most likely using the wrong interaction
style (blocking vs. non-blocking). If a service invocation may take a
bit longer for some reason, either use an asynchronous transport
protocol or modell the interaction non-blocking (i.e. using a callback
with correlation).

HTH,
  Tammo

On 11.10.2010 10:33, Andriotto Massimiliano wrote:
> Hi,
> 
> In servicemix (I'm using apache-servicemix-4.3.0-fuse-01-00) , Ode 1.3.4
> uses mex.timeout set to 120000ms.
> 
> If I deploy ode axis, I can change the mex timeout. 
> 
> How can I change/set the mex timeout when I use ode inside servicemix?
> 
> Can it be changed?
> 
> What's the name of the property ?
> 
>  
> 
> Thank you
> 
>  
> 
> Massimiliano Andriotto
> 
>  
> 
> 

-- 
Tammo van Lessen - http://www.taval.de