You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2012/09/13 15:24:12 UTC

[jira] [Created] (CAMEL-5608) Validator component - Lock file on windows if input is file based and an validation failed occurred

Claus Ibsen created CAMEL-5608:
----------------------------------

             Summary: Validator component - Lock file on windows if input is file based and an validation failed occurred
                 Key: CAMEL-5608
                 URL: https://issues.apache.org/jira/browse/CAMEL-5608
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.10.0, 2.9.0
            Reporter: Claus Ibsen
             Fix For: 2.9.4, 2.11.0, 2.10.2


See nabble
http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756.html

We should ensure the input stream gets closed in all accounts with the validator component.

--
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-5608) Validator component - Lock file on windows if input is file based and an validation failed occurred

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

Claus Ibsen commented on CAMEL-5608:
------------------------------------

There may be another route that is picking up files.

I am adding some of the logic we have from xslt/xpath builders that also work with the various XML types / sources et all. And they have logic to ensure any input stream gets closed etc.
                
> Validator component - Lock file on windows if input is file based and an validation failed occurred
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5608
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5608
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.0, 2.10.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.9.5, 2.10.3, 2.11.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756.html
> We should ensure the input stream gets closed in all accounts with the validator component.

--
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] [Resolved] (CAMEL-5608) Validator component - Lock file on windows if input is file based and an validation failed occurred

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

Claus Ibsen resolved CAMEL-5608.
--------------------------------

    Resolution: Fixed
    
> Validator component - Lock file on windows if input is file based and an validation failed occurred
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5608
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5608
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.0, 2.10.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.9.5, 2.10.3, 2.11.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756.html
> We should ensure the input stream gets closed in all accounts with the validator component.

--
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-5608) Validator component - Lock file on windows if input is file based and an validation failed occurred

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

Hadrian Zbarcea updated CAMEL-5608:
-----------------------------------

    Fix Version/s:     (was: 2.9.4)
                   2.9.5
    
> Validator component - Lock file on windows if input is file based and an validation failed occurred
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5608
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5608
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.0, 2.10.0
>            Reporter: Claus Ibsen
>             Fix For: 2.9.5, 2.11.0, 2.10.2
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756.html
> We should ensure the input stream gets closed in all accounts with the validator component.

--
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] [Assigned] (CAMEL-5608) Validator component - Lock file on windows if input is file based and an validation failed occurred

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

Claus Ibsen reassigned CAMEL-5608:
----------------------------------

    Assignee: Claus Ibsen
    
> Validator component - Lock file on windows if input is file based and an validation failed occurred
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5608
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5608
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.0, 2.10.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.9.5, 2.10.3, 2.11.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756.html
> We should ensure the input stream gets closed in all accounts with the validator component.

--
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-5608) Validator component - Lock file on windows if input is file based and an validation failed occurred

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

Babak Vahdat commented on CAMEL-5608:
-------------------------------------

Using WIN-XP I could not reproduce the problem and [asked the user|http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756p5719718.html] to provide more details however got no response til now.

Also given the route the user has provided @ the forum I don't think file renaming will be invoked at all, because he makes use of {{DirectConsumer}} and not {{FileConsumer}} so there's no reason why {{FileUtil.renameFile}} should kick-in!
                
> Validator component - Lock file on windows if input is file based and an validation failed occurred
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5608
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5608
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.0, 2.10.0
>            Reporter: Claus Ibsen
>             Fix For: 2.9.4, 2.11.0, 2.10.2
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756.html
> We should ensure the input stream gets closed in all accounts with the validator component.

--
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-5608) Validator component - Lock file on windows if input is file based and an validation failed occurred

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

Hadrian Zbarcea updated CAMEL-5608:
-----------------------------------

    Fix Version/s:     (was: 2.10.2)
                   2.10.3
    
> Validator component - Lock file on windows if input is file based and an validation failed occurred
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5608
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5608
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.9.0, 2.10.0
>            Reporter: Claus Ibsen
>             Fix For: 2.9.5, 2.11.0, 2.10.3
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Validator-component-onException-tp5717756.html
> We should ensure the input stream gets closed in all accounts with the validator component.

--
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