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