Re: Why GenericFile is a generic type?

2015-03-08 Thread Willem Jiang
Hi, I think the main reason is we have other File related components such Ftp, Sftp extends the GenericFileComponent and has different File type which doesn’t share the same File parent. -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com (English)

Re: Context level intercept/filter layers

2015-03-08 Thread Willem Jiang
You can do it by implement your custom security policy[1]. Please take a look at the camel-sprint-security[2], you can find some code example such as SpringSecurityAuthorizationPolicy.java[3] [1]http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/spi/Policy.html

Why GenericFile is a generic type?

2015-03-08 Thread Christian Eugster
Hi, maybe it is a thumb question, but I could not resolive it by myself using google and documentation: Why is GenericFile a generic type? Or, what are the benefits of this? I did not find any explanations about it. Thank you! Christian Christian Eugster Docuteam GmbH Langacker 16 Postfach