camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Patel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-5629) CamelContext should allow to add intercept defination at runime
Date Wed, 19 Sep 2012 14:58:07 GMT
Amit Patel created CAMEL-5629:
---------------------------------

             Summary: 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: Critical


CamelContext allows to add InterceptStrategy not InterceptFormDefinition.
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