You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/05/09 20:46:03 UTC

[jira] [Resolved] (CAMEL-3959) SpringTestSupport - debugBefore does not work

     [ https://issues.apache.org/jira/browse/CAMEL-3959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3959.
--------------------------------

    Resolution: Fixed

> SpringTestSupport - debugBefore does not work
> ---------------------------------------------
>
>                 Key: CAMEL-3959
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3959
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-test
>    Affects Versions: 2.7.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.8.0
>
>
> You cannot use the debugBefore / debugAfter when using CamelSpringTestSupport from camel-test. The problem is that the Spring Framework triggers Camel to start before the unit test have setup the debugger and whatnot.
> We should align this so it works like without spring, so its the CamelTestSupport that invokes start on CamelContext
> See nabble
> http://camel.465427.n5.nabble.com/CamelSpringTestSupport-and-debugBefore-tp4382259p4382259.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira