You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Amit Patel (JIRA)" <ji...@apache.org> on 2012/09/19 16:58:07 UTC
[jira] [Created] (CAMEL-5629) CamelContext should allow to add
intercept defination at runime
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
[jira] [Commented] (CAMEL-5629) CamelContext should allow to add
intercept defination at runime
Posted by "Amit Patel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460481#comment-13460481 ]
Amit Patel commented on CAMEL-5629:
-----------------------------------
I need to add InterceptDefinition to CamelContext using addInterceptDefinition method. I don't find this method in camelContext class. I don't find this in document also. It shows I can add interceptFrom in camelContext xml, but i don't found it allow to add using camelContext class. Please let me know if you have any questions or need more information.
> 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
> Assignee: Claus Ibsen
> 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
[jira] [Updated] (CAMEL-5629) CamelContext should allow to add
intercept defination at runime
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (CAMEL-5629) CamelContext should allow to add
intercept defination at runime
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-5629.
--------------------------------
Resolution: Not A Problem
Fix Version/s: 2.11.0
Assignee: Claus Ibsen
> 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
> Assignee: Claus Ibsen
> 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
[jira] [Commented] (CAMEL-5629) CamelContext should allow to add
intercept defination at runime
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460285#comment-13460285 ]
Claus Ibsen commented on CAMEL-5629:
------------------------------------
See this page for examples with interceptFrom
http://camel.apache.org/intercept
> 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
> 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
[jira] [Updated] (CAMEL-5629) CamelContext should allow to add
intercept defination at runime
Posted by "Amit Patel (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amit Patel updated CAMEL-5629:
------------------------------
Description:
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>"""
was:
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>"""
> 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 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