Hi,
Is there a strategy to define dynamically the
endpoint/bean/Dataformat/Processor/interceptor (through spring injection,
...) of a route ? I will explain my thought through an example
A) Java DSL class
from(endpointA)
.bean("bean:" + beanA)
.unmarshall(DataFormatA)
.to(endpointB)
Remar k :
- endpointA, endpointB, beanA are String so they can be defined in a
property file
- DataFormaA is a DataFormat object. This one must be injected
B) Spring XML file
Can we do the same here using spring file + properties.file
Regards,
Charles
-----
Enterprise Architect
Xpectis
12, route d'Esch
L-1470 Luxembourg
Phone +352 25 10 70 470
Mobile +352 621 45 36 22
e-mail : [EMAIL PROTECTED]
web site : www.xpectis.com
--
View this message in context:
http://www.nabble.com/HOW-TO-definie-DYNAMICALLY-the-endpoints-of-a-route---tp18398389s22882p18398389.html
Sent from the Camel - Users mailing list archive at Nabble.com.