You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Ashwin Karpe (JIRA)" <ji...@apache.org> on 2010/10/19 17:35:40 UTC

[jira] Assigned: (CAMEL-3254) Cannot set multiple route policies on a route in Spring

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

Ashwin Karpe reassigned CAMEL-3254:
-----------------------------------

    Assignee: Ashwin Karpe

> Cannot set multiple route policies on a route in Spring
> -------------------------------------------------------
>
>                 Key: CAMEL-3254
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3254
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Fintan Bolton
>            Assignee: Ashwin Karpe
>
> The Spring grammar does not seem to provide a way of specifying multiple policies. E.g.
> <route routePolicyRef="myFirstPolicy">
>    ...
> </route>
> There is nowhere to inject a second policy, because there is only one attribute provided.
> While it is possible to set multiple unrelated policies (for e.g ScheduledRoutePolicy and say Shiro SecurityPolicy) which necessitate a different Spring XML fragment, it is not possible at the moment to set multiple policy sets in Spring against a route. It is possible to set up different start, stop, suspend & resume times in the same policy.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.