Re: Camel 2.22.1 and Rabbitmq getting a error

2018-11-09 Thread Babak Vahdat
Hi Alireza I guess 15672 is the port for the management plugin which handles the HTTP requests, not the AMQP ones. Can you try using the default 5672 port? Babak > On 10 Nov 2018, at 07:43, Alireza Salemi wrote: > > Hi, > > I am trying to connect Camel to RabbitMq but I am getting the error

Camel 2.22.1 and Rabbitmq getting a error

2018-11-09 Thread Alireza Salemi
Hi, I am trying to connect Camel to RabbitMq but I am getting the error below. Does any body have any idea why this configuration is not working? I have attached the PM and Route XML. Thank you, Ali 2018-11-09 22:19:30.764 INFO 30863 --- [ main] o.a.c.c.rabbitmq.RabbitMQComponent

Re: Problem with netty4:udp and udpByteArrayCodec=true

2018-11-09 Thread Zoran Regvart
Hi Ron, I'm far from an expert on Netty, it seems to me like that `convertBodyTo(String.class, "UTF-8")` will lead to issues with binary data. What you want (I think) is `.to("netty4:udp://host:port?allowDefaultCodec=false&useByteBuf=true")` without `convertBodyTo` zoran On Fri, Nov 9, 2018 at

Re: Retrieving time taken to invoke a remote endpoint

2018-11-09 Thread Zoran Regvart
Hi Rajith, perhaps you can take a look at creating a interceptor[1] to do that. zoran [1] https://github.com/apache/camel/blob/master/docs/user-manual/en/intercept.adoc On Thu, Nov 8, 2018 at 2:16 PM, Rajith Muditha Attapattu wrote: > Assume a route as follows > .. > .to(myRemoteEndpoint)