You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Preben Asmussen (Created) (JIRA)" <ji...@apache.org> on 2012/02/22 14:25:48 UTC

[jira] [Created] (CAMEL-5028) Using adviceWith in CamelSpringTestSupport

Using adviceWith in CamelSpringTestSupport
------------------------------------------

                 Key: CAMEL-5028
                 URL: https://issues.apache.org/jira/browse/CAMEL-5028
             Project: Camel
          Issue Type: Bug
          Components: camel-spring
    Affects Versions: 2.9.0
            Reporter: Preben Asmussen
            Priority: Minor


When using adviceWith in CamelSpringTestSupport you should override isUseAdviceWith in your testcase and return true.
 
But this results in a error been thrown from assertValidContext in CamelSpringTestSupport with error 'Should have at least one route'.

see : http://camel.465427.n5.nabble.com/Using-adviceWith-in-CamelSpringTestSupport-td5504936.html

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

        

[jira] [Assigned] (CAMEL-5028) Using adviceWith in CamelSpringTestSupport

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

Willem Jiang reassigned CAMEL-5028:
-----------------------------------

    Assignee: Willem Jiang
    
> Using adviceWith in CamelSpringTestSupport
> ------------------------------------------
>
>                 Key: CAMEL-5028
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5028
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-test
>    Affects Versions: 2.9.0
>            Reporter: Preben Asmussen
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>
> When using adviceWith in CamelSpringTestSupport you should override isUseAdviceWith in your testcase and return true.
>  
> But this results in a error been thrown from assertValidContext in CamelSpringTestSupport with error 'Should have at least one route'.
> see : http://camel.465427.n5.nabble.com/Using-adviceWith-in-CamelSpringTestSupport-td5504936.html

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

        

[jira] [Resolved] (CAMEL-5028) Using adviceWith in CamelSpringTestSupport

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

Willem Jiang resolved CAMEL-5028.
---------------------------------

    Resolution: Fixed

Applied patch into trunk.
                
> Using adviceWith in CamelSpringTestSupport
> ------------------------------------------
>
>                 Key: CAMEL-5028
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5028
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-test
>    Affects Versions: 2.9.0
>            Reporter: Preben Asmussen
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.10.0
>
>
> When using adviceWith in CamelSpringTestSupport you should override isUseAdviceWith in your testcase and return true.
>  
> But this results in a error been thrown from assertValidContext in CamelSpringTestSupport with error 'Should have at least one route'.
> see : http://camel.465427.n5.nabble.com/Using-adviceWith-in-CamelSpringTestSupport-td5504936.html

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

        

[jira] [Updated] (CAMEL-5028) Using adviceWith in CamelSpringTestSupport

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

Claus Ibsen updated CAMEL-5028:
-------------------------------

    Estimated Complexity: Novice  (was: Unknown)
    
> Using adviceWith in CamelSpringTestSupport
> ------------------------------------------
>
>                 Key: CAMEL-5028
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5028
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-test
>    Affects Versions: 2.9.0
>            Reporter: Preben Asmussen
>            Priority: Minor
>             Fix For: 2.10.0
>
>
> When using adviceWith in CamelSpringTestSupport you should override isUseAdviceWith in your testcase and return true.
>  
> But this results in a error been thrown from assertValidContext in CamelSpringTestSupport with error 'Should have at least one route'.
> see : http://camel.465427.n5.nabble.com/Using-adviceWith-in-CamelSpringTestSupport-td5504936.html

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

        

[jira] [Updated] (CAMEL-5028) Using adviceWith in CamelSpringTestSupport

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

Claus Ibsen updated CAMEL-5028:
-------------------------------

      Component/s:     (was: camel-spring)
                   camel-test
    Fix Version/s: 2.10.0
       Issue Type: Improvement  (was: Bug)
    
> Using adviceWith in CamelSpringTestSupport
> ------------------------------------------
>
>                 Key: CAMEL-5028
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5028
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-test
>    Affects Versions: 2.9.0
>            Reporter: Preben Asmussen
>            Priority: Minor
>             Fix For: 2.10.0
>
>
> When using adviceWith in CamelSpringTestSupport you should override isUseAdviceWith in your testcase and return true.
>  
> But this results in a error been thrown from assertValidContext in CamelSpringTestSupport with error 'Should have at least one route'.
> see : http://camel.465427.n5.nabble.com/Using-adviceWith-in-CamelSpringTestSupport-td5504936.html

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