camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javamonkey79 <javamonke...@gmail.com>
Subject CamelSpringTestSupport registry\bean modification
Date Tue, 07 May 2013 17:38:48 GMT
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.

Mime
View raw message