[ 
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.

Reply via email to