File BC doesnt set correlation Id and sender property
-----------------------------------------------------

                 Key: SM-1005
                 URL: https://issues.apache.org/activemq/browse/SM-1005
             Project: ServiceMix
          Issue Type: Bug
          Components: servicemix-file
    Affects Versions: 3.1.1, 3.1
            Reporter: Gianfranco Boccalon


The File binding component doesn't set the properties correlation id and sender.

We fixed the problem changing the method processFile in class 
org.apache.servicemix.file.FilePollerEndpoint, adding these rows before sending 
the message (sendSync):

       exchange.setProperty(JbiConstants.SENDER_ENDPOINT, service.toString());
       exchange.setProperty(JbiConstants.CORRELATION_ID, 
exchange.getExchangeId());


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to