You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Daniel Bevenius (JIRA)" <ji...@apache.org> on 2010/08/19 11:48:47 UTC

[jira] Updated: (CAMEL-3063) Let FileEndpoint support a path specified as relative to the current working directory like: "file:."

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

Daniel Bevenius updated CAMEL-3063:
-----------------------------------

    Attachment: FileEndpoint.patch
                FileEndpointTest.java

> Let FileEndpoint support a path specified as relative to the current working directory like: "file:." 
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-3063
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3063
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Daniel Bevenius
>            Priority: Trivial
>         Attachments: FileEndpoint.patch, FileEndpointTest.java
>
>
> While creating an example for the Camel-Smooks integration I wanted to be able to specify the directory that a FileConsumer will read from as the current working directory. I was not able to specify this as with out modifying FileEndpoint as described in the patch attached to this jira. 
> This is what I'd like to be able to do:
> <route>
> 	<from uri="file:.?fileName=input-message.edi&amp;noop=true"/>
> 	<log message="Before unmarshal  ${body}"/>
> 	<unmarshal ref="smooks"/>
> 	...
> </route>

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