I have some boiler plate code that is needed in several camel context's, is
there a way to inherit\extend from a parent camel context? If not, is there
any other way to include boiler plate stuff, perhaps with aspects?
I have something like this copied across many routes:
<onException>
<exception>java.lang.Throwable</exception>
<redeliveryPolicy redeliveryDelay="1000"
maximumRedeliveries="1" />
<bean ref="exceptionToAlertConverter" />
<to uri="direct:alerter" />
</onException>
<route id="alerterRoute">
<from uri="direct:alerter" />
<transacted
ref="propagationNotSupportedTransactionPolicy" />
<to uri="someBroker://Alerter" />
</route>
--
View this message in context:
http://camel.465427.n5.nabble.com/inherit-extend-camel-context-tp5733964.html
Sent from the Camel - Users mailing list archive at Nabble.com.