camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: interceptFrom and interceptSendToEndpoint not working
Date Fri, 14 Jul 2017 08:25:36 GMT
Hi

Its likely the endpoint uri matching that dont match exactly, use
wildcards with *, eg

interceptFrom("rabbitmq:*")


On Fri, Jul 14, 2017 at 10:15 AM, laiyhman <laiyhman@gmail.com> wrote:
> Hi,
>
> I was trying to intercept from/to specific rabbitmq route something like the
> following,
> interceptFrom(rabbitmq:localhost/someExchangeName?queue="somerRabbitMqQueueName").to("log:hello");
>
> and i'm not getting anything there.
>
> I've tested intercept().to("log:hello") and i can confirm it's working, can
> anyone let me know if there's something else that i need to configure to
> make the intercept from/to works?
>
> We're using Java DSL and Google Guice for dependency injection. Some of the
> project setup as follows,
>
> camel version: 2.18.3 (tried also 2.19.1)
> camel-guice: 2.18.3
> guice-multibindings: 4.1.0
> camel-rabbitmq: 2.18.3
> maven-compiler-plugin: 1.7
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/interceptFrom-and-interceptSendToEndpoint-not-working-tp5807012.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Mime
View raw message