You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/04/14 17:42:31 UTC

[jira] Created: (CAMEL-1532) InterceptStrategy - add feature to only wrap once

InterceptStrategy - add feature to only wrap once
-------------------------------------------------

                 Key: CAMEL-1532
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1532
             Project: Apache Camel
          Issue Type: Improvement
          Components: camel-core
    Affects Versions: 2.0-M1
            Reporter: Claus Ibsen
             Fix For: 2.1.0


The InterceptorStrategy will wrap each node with the interceptor of choice.

This works fine when its needed such as:
- tracer
- delayer

But sometimes its sufficient to only wrap one time, in the start such as
- UnitOfWork
- Transaction policy
- StreamCacheInterceptor

This allows the route path to only contain the needed interceptors instead of being added around each node.

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


[jira] Resolved: (CAMEL-1532) InterceptStrategy - add feature to only wrap once

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1532.
--------------------------------

    Resolution: Won't Fix
      Assignee: Claus Ibsen

Not needed anymore

> InterceptStrategy - add feature to only wrap once
> -------------------------------------------------
>
>                 Key: CAMEL-1532
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1532
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.1.0
>
>
> The InterceptorStrategy will wrap each node with the interceptor of choice.
> This works fine when its needed such as:
> - tracer
> - delayer
> - StreamCacheInterceptor
> But sometimes its sufficient to only wrap one time, in the start such as
> - UnitOfWork
> - Transaction policy
> Currently the UnitOfWork is registering itself when all the from is created as event driven consumers.
> We could have a similar list of one-shot interceptors etc. that gets registered here.
> This allows the route path to only contain the needed interceptors instead of being added around each node.

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


[jira] Updated: (CAMEL-1532) InterceptStrategy - add feature to only wrap once

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/CAMEL-1532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-1532:
-------------------------------

    Description: 
The InterceptorStrategy will wrap each node with the interceptor of choice.

This works fine when its needed such as:
- tracer
- delayer
- StreamCacheInterceptor

But sometimes its sufficient to only wrap one time, in the start such as
- UnitOfWork
- Transaction policy

Currently the UnitOfWork is registering itself when all the from is created as event driven consumers.
We could have a similar list of one-shot interceptors etc. that gets registered here.

This allows the route path to only contain the needed interceptors instead of being added around each node.

  was:
The InterceptorStrategy will wrap each node with the interceptor of choice.

This works fine when its needed such as:
- tracer
- delayer

But sometimes its sufficient to only wrap one time, in the start such as
- UnitOfWork
- Transaction policy
- StreamCacheInterceptor

This allows the route path to only contain the needed interceptors instead of being added around each node.


> InterceptStrategy - add feature to only wrap once
> -------------------------------------------------
>
>                 Key: CAMEL-1532
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1532
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>             Fix For: 2.1.0
>
>
> The InterceptorStrategy will wrap each node with the interceptor of choice.
> This works fine when its needed such as:
> - tracer
> - delayer
> - StreamCacheInterceptor
> But sometimes its sufficient to only wrap one time, in the start such as
> - UnitOfWork
> - Transaction policy
> Currently the UnitOfWork is registering itself when all the from is created as event driven consumers.
> We could have a similar list of one-shot interceptors etc. that gets registered here.
> This allows the route path to only contain the needed interceptors instead of being added around each node.

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