camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Burgazzoli (JIRA)" <>
Subject [jira] [Commented] (CAMEL-7865) Support to carry file attributes on file endpoint
Date Thu, 14 Jan 2016 17:19:39 GMT


Luca Burgazzoli commented on CAMEL-7865:

My understanding is that it returns the same object as the relative view class, as example
see [BasicFileAttributeView|]
and for basic attributes it may be easy to have a string representation but I do not know
how complex it could be for things like ACLs

We can add a new property like CamelFileExtendedAttributes that could be a Map<String,Object>
on which the key is the required attribute and the value the result of the call i.e. in pseudo

    CamelFileExtendedAttributes[ 'posix:permissions' ] =  Files.getAttribute(path,  'posix:permissions'

> Support to carry file attributes on file endpoint
> -------------------------------------------------
>                 Key: CAMEL-7865
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Tomohisa Igarashi
> Java 7 introduced java.nio.file.attribute which allows to access file attributes. It
would be great if camel file endpoint can read/write the attributes with using this and carry
it by header or property.

This message was sent by Atlassian JIRA

View raw message