You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "skydjol (JIRA)" <ji...@apache.org> on 2012/09/11 22:40:07 UTC

[jira] [Created] (CAMEL-5590) when recursive=true in camel-file url then may cause camel context not started

skydjol created CAMEL-5590:
------------------------------

             Summary: when recursive=true in camel-file url then may cause camel context not started
                 Key: CAMEL-5590
                 URL: https://issues.apache.org/jira/browse/CAMEL-5590
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.10.0
            Reporter: skydjol


When use parameters recursive=true in url and lot of directory/files the camel context never start correctly.

But processing file start.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5590) when recursive=true in camel-file url then may cause camel context not started

Posted by "skydjol (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453843#comment-13453843 ] 

skydjol commented on CAMEL-5590:
--------------------------------

When use camel-file with recursive option and camel context start then 'MarkerFileExclusiveReadLockStrategy' try to delete orphan file.
This action take some times with many files in many directory but file processing start.

While 'MarkerFileExclusiveReadLockStrategy' no finish process and the camel-context status not started (camelContext.getStatus().isStarting() return true).

It's a problem when you have a seda consumer on this route because he never consume the Exchange while camel context not start

I try to write a Unit Test to demonstrate this behaviour .

(Sorry for create ticket without discuss on forum before)
                
> when recursive=true in camel-file url then may cause camel context not started
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-5590
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5590
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.0
>            Reporter: skydjol
>
> When use parameters recursive=true in url and lot of directory/files the camel context never start correctly.
> But processing file start.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5590) when recursive=true in camel-file url then may cause camel context not started

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453906#comment-13453906 ] 

Claus Ibsen commented on CAMEL-5590:
------------------------------------

Ah yeah maybe we can move that delete orphaned files task to the scheduled task itself so its run onces first on the first poll.
                
> when recursive=true in camel-file url then may cause camel context not started
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-5590
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5590
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.0
>            Reporter: skydjol
>             Fix For: 2.11.0
>
>
> When use parameters recursive=true in url and lot of directory/files the camel context never start correctly.
> But processing file start.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CAMEL-5590) when recursive=true in camel-file url then may cause camel context not started

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

Claus Ibsen updated CAMEL-5590:
-------------------------------

    Fix Version/s: 2.11.0
       Issue Type: Improvement  (was: Bug)
    
> when recursive=true in camel-file url then may cause camel context not started
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-5590
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5590
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.10.0
>            Reporter: skydjol
>             Fix For: 2.11.0
>
>
> When use parameters recursive=true in url and lot of directory/files the camel context never start correctly.
> But processing file start.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CAMEL-5590) when recursive=true in camel-file url then may cause camel context not started

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CAMEL-5590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453731#comment-13453731 ] 

Claus Ibsen commented on CAMEL-5590:
------------------------------------

Can you give more detail what is the problem for you? What do you mean by "newer start correctly."

Also please read this page first
http://camel.apache.org/support

Please use the mailing list first to talk about your Camel issues; there is a lot more people to help. We want the issue tracker to *only* be used for more technical issues where a bug is apparent, patches etc.


                
> when recursive=true in camel-file url then may cause camel context not started
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-5590
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5590
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.0
>            Reporter: skydjol
>
> When use parameters recursive=true in url and lot of directory/files the camel context never start correctly.
> But processing file start.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira