Doing some test it seems that the drools 31 component does not propagate the
following properties:

JbiConstants.CORRELATION_ID
JbiConstants.SENDER

in JbiHelper.route() method.

The patch is very simple, i just added the lines:

String correlationId = (String)exchange.getProperty(JbiConstants.CORRELATION_ID);
 String key = EndpointSupport.getKey(endpoint);
 me.setProperty(JbiConstants.SENDER_ENDPOINT, key);
 me.setProperty(JbiConstants.CORRELATION_ID, correlationId);

 before the sendSync invocation and it works!!!

Andrea Zoppello
Engineering Ing. Informatica


Reply via email to