Hi,

I want to register a datasource in my junit test (that extends
CamelSpringTestSupport)
but noticed that createRegistry is only called when directly extending from
CamelTestSupport

    @Override
    protected JndiRegistry createRegistry() throws Exception {
        JndiRegistry jndi = super.createRegistry();
        jndi.bind("testDataSource", db);
        return jndi;
    }


How do i make this work in tests that extend from CamelSpringTestSupport ?

I'm using camel 2.12
Regards
Rino



--
View this message in context: 
http://camel.465427.n5.nabble.com/createRegistry-not-called-in-CamelSpringTestSupport-tp5763207.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to