camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-5629) CamelContext should allow to add intercept defination at runime
Date Fri, 21 Sep 2012 06:49:08 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-5629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-5629:
-------------------------------

    Priority: Minor  (was: Critical)
    
> CamelContext should allow to add intercept defination at runime
> ---------------------------------------------------------------
>
>                 Key: CAMEL-5629
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5629
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>    Affects Versions: 2.10.1
>            Reporter: Amit Patel
>            Priority: Minor
>             Fix For: 2.11.0
>
>
> CamelContext allows to add InterceptStrategy not InterceptFromDefinition.
> To add below intercept xml to camelContext, I need to add InterceptDefinition to CamelContext.
I don't find any add method for InterceptDefinition just like addRouteDefinitions and addRouteDefinition.
> InterceptDefinition 
> ======================== 
> <interceptFrom xmlns="http://camel.apache.org/schema/spring" >
>           <when>
>           <groovy> return exchange.fromRouteId == 'test.hello.restlet.1.0' </groovy>
>         </when>
>         <to uri="direct:test.intercepter.v1"/>
>     </interceptFrom>"""

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message