camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Schneider Christian <>
Subject AW: AW: Configure Route Recipients at run time
Date Tue, 02 Nov 2010 13:08:04 GMT
yes.. you would extend the routbuilder class. So you could change the behaviour of the method
that creates the route that starts with the direct endpoint.

The better way would probably be to have two direct endpoints and switch between them via
a property.

Best regards


Christian Schneider
Business Solutions
Handel und Dispatching

Tel : +49-(0)721-63-15482

EnBW Systeme Infrastruktur Support GmbH
Sitz der Gesellschaft: Karlsruhe
Handelsregister: Amtsgericht Mannheim ­ HRB 108550
Vorsitzender des Aufsichtsrats: Dr. Bernhard Beck
Geschäftsführer: Jochen Adenau, Hans-Günther Meier

-----Ursprüngliche Nachricht-----
Von: jpcook01 [] 
Gesendet: Dienstag, 2. November 2010 13:11
Betreff: Re: AW: Configure Route Recipients at run time

Thanks, I like the propery idea

When you say extend the routebuilder you mean the unit test will actually
extend the routebuilder?

eg) FootballMatchRouteBuilderTest extends FootballMatchRouteBuilder

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message