Hi

Thanks for digging into this.

Feel free to create a JIRA ticket and attach your sample project etc.


On Mon, Aug 22, 2011 at 10:36 AM, Andreas Kuhtz <andreas.ku...@atos.net> wrote:
> Hi Claus,
>
> It's not working with JUnit4 either but I found the problem: The camel
> context is started too early.
>
> The system property maybeStartCamelContext is set to true and this causes
> the SpringCamelContext to be started in maybeStart(). If you set the
> maybeStartCamelContext to false the debugger works.
>
> I've attached a sample project that has test cases for JUnit4 and TestNG.
> For JUnit4 check the doPreSetup() in DebugJUnit4SpringCamelTest, for TestNG
> check the createCamelContext() in DebugTestNGSpringCamelTest.
>
> http://camel.465427.n5.nabble.com/file/n4722586/camel-debug-sample.zip
> camel-debug-sample.zip
>
> Cheers Andi
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/camel-testng-Start-debugger-with-CamelSpringTestSupport-tp4716094p4722586.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to