Camel
  1. Camel
  2. CAMEL-3254

Cannot set multiple route policies on a route in Spring

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.7.0
    • Component/s: camel-core
    • Labels:
      None

      Description

      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.

      There are no Sub-Tasks for this issue.

        Activity

        Daniel Kulp made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ashwin Karpe made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ashwin Karpe made changes -
        Ashwin Karpe made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Claus Ibsen made changes -
        Fix Version/s 2.7.0 [ 12316021 ]
        Jeff Turner made changes -
        Project Import Sat Nov 27 00:14:50 EST 2010 [ 1290834890113 ]
        Ashwin Karpe made changes -
        Field Original Value New Value
        Assignee Ashwin Karpe [ akarpe ]
        Fintan Bolton created issue -

          People

          • Assignee:
            Ashwin Karpe
            Reporter:
            Fintan Bolton
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development