Hi Freeman,

Thanks for your reply.

But in this case I can throw an exception if some value meet some condition in interceptor (outInterceptor) so on the destination process has been ended. I want to find solution for such situation - let's say I want to wait 1s for a destination response and if there is no response after 1s I want to stop processing by provider (terminate connection) and throw exception.

Is something as this possible?

regards

rafal


On 27.07.2012 01:21, Freeman Fang wrote:
Hi,

Similarly for the cxf bc provider you can also add an interceptor which can 
check the value for the exchangeId and whatnot and throw an exception when 
exchangeId/some value meet some condition.
Freeman
-------------
Freeman Fang

FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042

On 2012-7-26, at 下午5:48, Rafal Janik wrote:

Hi All,

Let's say there is  a simple servicemix proxy with cxf-bc consumer and provider.
For consumer there is an inteceptor which stores somewhere exchange id and 
other things.

I'm wondering if there is any possibility from external process to stop 
executing the message processing on the destination (provider target)- so 
probably to force stop the provider and return for example some fault?


regards

rafal


--


Reply via email to