You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Babak Vahdat (Commented) (JIRA)" <ji...@apache.org> on 2011/11/04 17:39:51 UTC

[jira] [Commented] (CAMEL-4004) Permit to override creation of FileConsumer in FileEndPoint

    [ https://issues.apache.org/jira/browse/CAMEL-4004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144137#comment-13144137 ] 

Babak Vahdat commented on CAMEL-4004:
-------------------------------------

Claus,

you simply take over all those tricky & tough stuff for yourself to fix (namespace aware xml streaming tokenizier support, just to mention one of those last features), and leave us alone with such trival fixes... this's simply not fair ;-)

I see a good match here of your definition for the professionalism and the action you took today by this ticket:

http://camel.465427.n5.nabble.com/HEADS-UP-Adjustments-to-ExecutorServiceManager-on-trunk-tp4693698p4715407.html

Regards, Babak
 
                
> Permit to override creation of FileConsumer in FileEndPoint
> -----------------------------------------------------------
>
>                 Key: CAMEL-4004
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4004
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.7.1
>            Reporter: Manuel Boillod
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.0
>
>
> The method FileEndPoint.createConsumer does not permit to override type of FileConsumer. I would use a specific FileConsumer which override prePollCheck method.
> This will be possible if you externalize method which create FileConsumer in the body of createConsumer :
> {code}FileConsumer result = new FileConsumer(this, processor, operations);{code}
> could be refactor in :
> {code}FileConsumer result = newFileConsumer(processor, operations);
> ...
> protected FileConsumer newFileConsumer(Processor processor, GenericFileOperations<File> operations){
> return new FileConsumer(this, processor, operations)
> }{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira