These properties should be set because the JbiHelper.route() will indirectly call the AsyncBaseLifeCycle.prepareConsumerExchange() method which set these properties. This has already been fixed in https://issues.apache.org/activemq/browse/SM-861 :-)
On 5/4/07, Andrea Zoppello <[EMAIL PROTECTED]> wrote:
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
-- Cheers, Guillaume Nodet ------------------------ Principal Engineer, IONA Blog: http://gnodet.blogspot.com/
