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 2010/08/12 13:16:47 UTC

[jira] Created: (CAMEL-3049) Using custom global interceptor can cause routes to not entirely warmup

Using custom global interceptor can cause routes to not entirely warmup
-----------------------------------------------------------------------

                 Key: CAMEL-3049
                 URL: https://issues.apache.org/activemq/browse/CAMEL-3049
             Project: Apache Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.4.0
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
             Fix For: 2.5.0


See nabble
http://camel.465427.n5.nabble.com/Camel-2-4-InterceptStrategy-error-tp2473088p2473088.html

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


[jira] Resolved: (CAMEL-3049) Using custom global interceptor can cause routes to not entirely warmup

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

Claus Ibsen resolved CAMEL-3049.
--------------------------------

    Resolution: Fixed

trunk: 985137.

> Using custom global interceptor can cause routes to not entirely warmup
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-3049
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3049
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Camel-2-4-InterceptStrategy-error-tp2473088p2473088.html

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


[jira] Commented: (CAMEL-3049) Using custom global interceptor can cause routes to not entirely warmup

Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61185#action_61185 ] 

Charles Moulliard commented on CAMEL-3049:
------------------------------------------

The code is coming from Fusesource/forge web site --> project Fuse ESB Audit --> http://fusesource.com/forge/projects/ESBAUDIT/source 

git://forge.fusesource.com/esbaudit.git

look in this directory to chekc the content of the class : org.fusesource.esb.audit.camel\src\main\java\org\fusesource\esb\audit

I have simply modify some pom.xml files + one class to be able to use camel 2.4/Karaf2.0. My code has not been yest committed as I'm not sure that I have the rights to commit something.

> Using custom global interceptor can cause routes to not entirely warmup
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-3049
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3049
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Camel-2-4-InterceptStrategy-error-tp2473088p2473088.html

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


[jira] Commented: (CAMEL-3049) Using custom global interceptor can cause routes to not entirely warmup

Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/CAMEL-3049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=61195#action_61195 ] 

Claus Ibsen commented on CAMEL-3049:
------------------------------------

The interceptor should extend DelegateAsyncProcessor instead, then it should work. But this requires Camel 2.4 onwards.

{code}
public class AuditInterceptor extends DelegateProcessor
{code}

Should be
{code}
public class AuditInterceptor extends DelegateAsyncProcessor
{code}

And then implement the async process method instead.
I will fix the logic in camel-core to cater for both situations, to ensure child services is started in both situations.

> Using custom global interceptor can cause routes to not entirely warmup
> -----------------------------------------------------------------------
>
>                 Key: CAMEL-3049
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3049
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.5.0
>
>
> See nabble
> http://camel.465427.n5.nabble.com/Camel-2-4-InterceptStrategy-error-tp2473088p2473088.html

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