Hi,

Please fill a jira and append your patch.

Thanks
-------------
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: @Freeman小屋



On 2013-9-12, at 下午5:56, Erwan Guiochet wrote:

> Hi all,
> 
> I have found and fix an issue on servicemix-drools for this problem.
> 
> I don't know why but the exchange is submit two times to drools, that's why
> the first issue was fixed in the DroolsEndPoint in 
> private void handleProviderExchange(MessageExchange exchange) throws
> Exception {
>        if (exchange.getStatus() == ExchangeStatus.ACTIVE) {
> 
> In order to process Active exchange only.
> 
> In my case, the error appears in the jbiHelper.answer that was be processed
> two times, but the second time the exchange was not active but done, so i
> have add this in  jbiHelper.answer :
>    public void answer(Source content) throws Exception {        
>        MessageExchange me = this.exchange.getInternalExchange();              
>  
>        if (me.getStatus() == ExchangeStatus.ACTIVE)
>        { 
>          ...
> 
> Then no more error :)
> 
> I don't know if this require a JIRA, i will build my own drools component
> for my project.
> 
> Regards,
> 
> Raid
> 
> 
> 
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/Servicemix-3-3-2-drools-2010-01-Received-exchange-problem-tp3325976p5717795.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to