camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller <>
Subject Re: My camel-CXF tests fails, if they run together
Date Tue, 06 Jul 2010 15:55:42 GMT
Hello Christian, hello Willem!

I extract the creation of the client in a 'setUpBeforeClass' method, so that
the client is only initialized once:

    public static void setUpBeforeClass() throws Exception {
        URL wsdlURL =
        PersonService ss = new PersonService(wsdlURL, new QName("", "PersonService"));
        client = ss.getSoap();

But I still have the same behavior (because of the reason Willem mentioned).
My knowledge is, that the Camel JUnit helper classes always create a new
camel context after each test. This means for my test, I can not use the
Camel JUnit helper classes?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message