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 Christian Schneider Informationsverarbeitung 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 [mailto:[email protected]] Gesendet: Dienstag, 2. November 2010 13:11 An: [email protected] 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 Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Configure-Route-Recipients-at-run-time-tp3246440p3246619.html Sent from the Camel - Users mailing list archive at Nabble.com.
