RE: can Eureka be used as service registry/discovery tool with Apache camel?

2018-08-17 Thread Simon Martinelli, 72 Services LLC
How do you run Camel? If you use Spring Boot you just have to add @EnableDiscoveryClient and configure the server name/port -Original Message- From: Ranabroto Ghosh Sent: Freitag, 17. August 2018 14:41 To: users@camel.apache.org Subject: can Eureka be used as service

RE: Camel with Rabbitmq: messages in temp reply queue not being acked

2018-08-17 Thread Valdis Andersons
Hi All, Been digging today through some of the Camel-RabbitMQ code and can confirm now that the temp queue is created with the main endpoint's relevant properties (prefetch, autoAck and some others). The ack mode is set when the consumer get bound to the channel - TemporaryQueueReplyManager

Re: can Eureka be used as service registry/discovery tool with Apache camel?

2018-08-17 Thread Ranabroto Ghosh
I wanted something like below, Can camel not use some component to discover the service URL from eureka for this service? On 17 August 2018 at 13:41, Ranabroto Ghosh < ranabroto.gh...@globalcharge.com> wrote: > I want two simple camel micro-service application and they communicating > using

How to override dlqDeliveryFailureCause

2018-08-17 Thread Martin Pelikán
Hi All, I am trying to override/enhance JMS Message Header dlqDeliveryFailureCause or at least add my own header with Error message when Exception occurs in route in transacted route. Goal is to see Camel Exception in my message after sending to DLQ when max. number retries is exceeded. I am

Re: can Eureka be used as service registry/discovery tool with Apache camel?

2018-08-17 Thread Luca Burgazzoli
Yes it is possible if you use spring-boot + spring-cloud-eureka-discovery + camel-spring-cloud. i.e. in camel-example-spring-cloud-servicecall we use consul but if you swap consul by eureka, it should work too as camle uses the generic DiscoveryClient implementation provided by spring-cloud. If

can Eureka be used as service registry/discovery tool with Apache camel?

2018-08-17 Thread Ranabroto Ghosh
I want two simple camel micro-service application and they communicating using Eureka service discovery, is this possible? I found couple of examples camel using Consul but nowhere with Eureka. I would very thankful if anybody can help with a sample code example. -- Kind Regards Rana

Re: How to override dlqDeliveryFailureCause

2018-08-17 Thread Claus Ibsen
Hi I would not think you can do that, as the transacted ack mode with a rollback is just a rollback command from the JMS session. Its not like a new JMS message is being created and sent to a DLQ destination where you can provide new message headers / body etc via the JMS client and Camel. On