camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CAMEL-2708) File name lost when it starts with the same characters as the relative directory on the endpoint
Date Tue, 11 May 2010 09:17:43 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-2708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-2708.
--------------------------------

    Resolution: Fixed

Thanks Gert for the patch.

trunk: 943060.

> File name lost when it starts with the same characters as the relative directory on the
endpoint
> ------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2708
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2708
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.2.0
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>             Fix For: 2.3.0
>
>         Attachments: CAMEL-2708.diff
>
>
> When polling file from a directory using a relative file URI, the file name gets lost
when it starts with the same characters as the directory name.
> E.g. a directory 'orders' containing 'orders-1719.xml' and 'orders-1819.xml'
> {code}
> from("file:orders").process(new Processor() {
>   public void process(Exchange exchange) {
>     // there's no file name on the message here (exchange.getIn().getHeader(Exchange.FILE_NAME)
returns null)
>   }
> });
> {code}

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


Mime
View raw message