[ https://issues.apache.org/activemq/browse/CAMEL-1923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=53739#action_53739 ]
Claus Ibsen commented on CAMEL-1923: ------------------------------------ *Idea:* We could introduce a ContextProcessorDefinition that is a base defintion and then let ProcessorDefinition extend this. And then have context scoped build methods on the former and have route stuff only on the latter. eg onException only on CPD so you cannot use it later in the route. > OnException - Configuring route scoped should be limited to be configured on > the route node itself > --------------------------------------------------------------------------------------------------- > > Key: CAMEL-1923 > URL: https://issues.apache.org/activemq/browse/CAMEL-1923 > Project: Apache Camel > Issue Type: Improvement > Components: camel-core, camel-spring > Affects Versions: 1.6.1, 2.0-M3 > Reporter: Claus Ibsen > Fix For: 2.1.0, Future > > > OnException, OnCompletion and the others in this cross cutting concerns > should be configured on the route itself and not later during the route. > See nabble: > http://www.nabble.com/Multicast---OnException----Bug--%28camel-1.6.1%29-td25028431.html -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.