Sarada Chelluboyena created CAMEL-12837:
-------------------------------------------

             Summary: Camel file option sequence
                 Key: CAMEL-12837
                 URL: https://issues.apache.org/jira/browse/CAMEL-12837
             Project: Camel
          Issue Type: Bug
            Reporter: Sarada Chelluboyena


Hi All,

In case of any exception moveFailed to specific location. It doesn't work as 
expected because file option delete is provided first as 
*delete=true&moveFailed=\{{fm.moveFailed}}*

If I change the delete at the end like 
*moveFailed=\{{fm.moveFailed}}&delete=true* It works. My concern is File 
option order shouldn't matter.

<route id="test" >
 <from uri="smb://xxx?*delete=true&amp;moveFailed=\{{fm.moveFailed}}*"/>
 
 <to id="_to8" uri="smb://xx?fileExist=Fail"/>
 
 <onException>
 <exception>java.lang.Exception</exception>
 <log loggingLevel="ERROR" message="Error processing ${header.CamelFileName}, 
Route: ${routeId},${exception.stacktrace} - ERROR"/>
 </onException>
</route>



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to