Hi, Yeah, it's possible, you can just configure a busCfg for a cxf bc provider, in this busCfg you can configure a http:conduit for this cxf bc provider, where you can specify a ReceiveTime as 1s, it's default value is 60s, you can take a look at [1] to get more details.
[1]http://cxf.apache.org/docs/client-http-transport-including-ssl-support.html Freeman ------------- Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: http://weibo.com/u/1473905042 On 2012-10-18, at 下午6:08, Rafal Janik wrote: > 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 >>> >>> >>> -- >>> >
