Is there any way to change beans declared in your Spring.xml when using
CamelSpringTestSupport?

To be specific, I'm not talking about route beans, I know you can use:
AdviceWithRouteBuilder for that, but rather, beans declared outside the
route. 

For instance:

        <camelContext id="context">
                <route id="route">
                        <from uri="broker://queueName" />
                        <to uri="myendpoint://foo?bar=#baz" />
                </route>
        </camelContext>
        
        <spring:bean id="baz" class="com.company.ReplaceWithAnotherClass" />



--
View this message in context: 
http://camel.465427.n5.nabble.com/CamelSpringTestSupport-registry-bean-modification-tp5732127.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to