[
https://issues.apache.org/activemq/browse/CAMEL-3266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62758#action_62758
]
Claus Ibsen commented on CAMEL-3266:
------------------------------------
The Ordered was first meant as an internal think hence why it was in util
package.
We ought to move it to the root package. Such as in Camel 3.0.
> support the Ordered Interceptor Strategy configured in spring
> -------------------------------------------------------------
>
> Key: CAMEL-3266
> URL: https://issues.apache.org/activemq/browse/CAMEL-3266
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.4.0
> Reporter: xuhongbo
> Priority: Minor
> Fix For: 2.6.0
>
> Attachments: AbstractCamelContextFactoryBean.java
>
>
> Now spring support user to configure their own Interceptor Strategy, but it
> cannot specifiy the wrap order of the interceptor strategy.
> So we need to support a feature to let the user define the interceptor's
> order:
> user can choice to implement the org.apache.camel.util.Ordered interface for
> the customed interceptor strategy ;
> if the interceptor strategy does support a Ordered interface, the camel
> context will loaded the interceptor-strategies and wrapper the process by the
> order;
> For example if I write two interceptor-strategy(A , B), if A's order is 0,
> and B's order is 1. the camel will always wrapper the processor as
> {A{B{Processor}}.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.