[ 
https://issues.apache.org/jira/browse/CAMEL-3254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988241#action_12988241
 ] 

Ashwin Karpe edited comment on CAMEL-3254 at 1/28/11 4:26 PM:
--------------------------------------------------------------

Attached a patch for this issue. This fix involves two components camel-core 
and camel-quartz. The unit tests for the fix are in camel-quartz.

Added both Spring and code based unit tests for the fix. Ran all tests for core 
and camel-quartz to verify that there are no side-effects of any kind.

I will be committing this fix to the 2.7.0 snapshot trunk and update the 
documentation.

Cheers,

Ashwin...



      was (Author: akarpe):
    Attached a patch for this issue. This fix involves two components 
camel-core and camel-quartz. The unit tests for the fix are in camel-quartz.

Added both Spring and code based unit tests for the fix.
  
> Cannot set multiple route policies on a route in Spring
> -------------------------------------------------------
>
>                 Key: CAMEL-3254
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3254
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Fintan Bolton
>            Assignee: Ashwin Karpe
>             Fix For: 2.7.0
>
>         Attachments: CAMEL-3254-multiple-route-policies.patch
>
>
> 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.

Reply via email to