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:45:47 UTC

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

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


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.


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

Posted by "Daniel Bevenius (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen reassigned CAMEL-3063:
----------------------------------

    Assignee: Claus Ibsen

> 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
>            Assignee: Claus Ibsen
>            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.


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

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3063.
--------------------------------

    Fix Version/s: 2.5.0
       Resolution: Fixed

trunk: 987124.

Thanks Daniel for the patch. I have applied it to trunk.

> 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
>            Assignee: Claus Ibsen
>            Priority: Trivial
>             Fix For: 2.5.0
>
>         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.