[ 
https://issues.apache.org/activemq/browse/SM-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39794
 ] 

Gert Vanthienen commented on SM-1005:
-------------------------------------

On my machine, the message exchanges sent by the file binding component already 
contain these properties.  Perhaps you're still using the 3.1 version, SM-861 
fixes this in 3.1.1 for exchanges that are sent using sendSync() (such as those 
sent by the FilePoller)

> 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, 3.1.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