You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Preethi <pr...@gmail.com> on 2014/07/01 22:47:40 UTC
interceptSendToEndpoint
Hi,
We have a RouteBuilder which does multiple interceptSendToEndpoint.
Something like this
@Override
public final void configure() throws Exception {
interceptSendToEndpoint("http4://test1.com/123456")
.process(new SecurityProcessor1());
interceptSendToEndpoint("http4://test2.com/123456")
.process(new SecurityProcessor2());
}
It looks like the first intercept never works. If the url
http4://test1.com/123456 is invoked, the request would still go to
SecurityProcessor2 instead of SecurityProcessor1. Is this a known issue with
Camel?
We are using camel-spring-2.9.2
Thanks,
Preethi
--
View this message in context: http://camel.465427.n5.nabble.com/interceptSendToEndpoint-tp5753172.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: interceptSendToEndpoint
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
Try with a newer Camel release.
On Tue, Jul 1, 2014 at 10:47 PM, Preethi <pr...@gmail.com> wrote:
> Hi,
>
> We have a RouteBuilder which does multiple interceptSendToEndpoint.
> Something like this
>
> @Override
> public final void configure() throws Exception {
>
> interceptSendToEndpoint("http4://test1.com/123456")
> .process(new SecurityProcessor1());
>
>
> interceptSendToEndpoint("http4://test2.com/123456")
> .process(new SecurityProcessor2());
> }
>
> It looks like the first intercept never works. If the url
> http4://test1.com/123456 is invoked, the request would still go to
> SecurityProcessor2 instead of SecurityProcessor1. Is this a known issue with
> Camel?
>
> We are using camel-spring-2.9.2
>
> Thanks,
> Preethi
>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/interceptSendToEndpoint-tp5753172.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
--
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/