Hi, On your first point.
1) Create some objects that all other processors in the route can share This is indeed possible. The CamelContext contains a registry where you can store such objects as singletons or regular objects and refer to them in Camel routes and processors. This is automatic if you use Spring since the CamelContext is aware of beans created in Spring and stores them in the registry automatically. You can also use your own registry implementation (JNDI or custom) to store and refer to such objects as follows. http://camel.apache.org/ref.html http://camel.apache.org/ref.html As for 2,3 and 4 you could do it as follows from("quartz:XXX or timer:YYY") .to ("sql:ZZZ or hibernate:AAA or bean:XYZ") .to ("jetty:http://WWW") .to("file:///dir/FOOBAR/"); To make things dynamic as far as injecting endpoints are concerned, you could use the registry or properties component. http://camel.apache.org/properties.html http://camel.apache.org/properties.html Hope this helps. Cheers, Ashwin... ----- --------------------------------------------------------- Ashwin Karpe Apache Camel Committer & Sr Principal Consultant FUSESource (a Progress Software Corporation subsidiary) http://fusesource.com Blog: http://opensourceknowledge.blogspot.com --------------------------------------------------------- -- View this message in context: http://camel.465427.n5.nabble.com/Newbie-questions-on-camel-tp5525500p5526310.html Sent from the Camel - Users mailing list archive at Nabble.com.
