We have in lots routes some common part. e.g.:

  .setHeader("h", constant(THIS_IS_VARIOUS_FOR_EVERY_ROUTE))
                .filter(method("serv", "method").isEqualTo(false))
                .to(VARIOUS_URI)
                .beanRef("serv", "method");

is here possibility how to wrap in and call like one part? e.g.:

from("uri").unmashal...callCommonPart(parameters) ...marshal



--
View this message in context: 
http://camel.465427.n5.nabble.com/Is-possible-to-wrap-a-part-of-route-tp5731917.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to