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

Gianfranco Boccalon commented on SM-1005:
-----------------------------------------

The component works properly, the problem is related to monitoring: i rely on 
these 2 properties to monitor the processes that are executing in ServiceMix.
Without these properties I'm not able to recognize the process that is 
executing.
For example, the HTTP component has been already patched with this change.

> 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