Query on unit test

2019-01-21 Thread Rahotman P
Hi, While starting a unit test for a route, its looking for static method of a bean, but there is no static method available. But at run time, its working fine with non-static method. Can you provide me some solution, on this kind of behaviour. -- Regards Rahotman 9487939018

how to detect recovery of activemq messageListenerContainer?

2019-01-21 Thread Geldhof, Kristof
Hi, I'm using Camel 2.23.0 and activemq-camel. I'm consuming messages from a virtual topic. I want to detect when there are problems in the connection with the broker and when (automatic) recovery is successful. For the initial detection of a connection error I use an exception listener. This o

Re: how to detect recovery of activemq messageListenerContainer?

2019-01-21 Thread Claus Ibsen
Hi I suggest to dive into the spring jms code, as its the library that is the baseline for the Camel JMS component. It has the logic for recovery. On Mon, Jan 21, 2019 at 3:59 PM Geldhof, Kristof wrote: > > Hi, > > I'm using Camel 2.23.0 and activemq-camel. I'm consuming messages from a > virtu

Re: Query on unit test

2019-01-21 Thread Claus Ibsen
Hi So your bean for testing vs production is different? You can use advice with in your unit test to replace the node in the route that calls the bean, where you can do something else. On Mon, Jan 21, 2019 at 10:42 AM Rahotman P wrote: > > Hi, > > While starting a unit test for a route, its loo

Re: Camel-jetty http/2 support

2019-01-21 Thread Claus Ibsen
Hi I suggest to see if you can find details on Jetty about their HTTP2 support and then see what it takes. Maybe some extra JARs on the classpath and what it takes to configure jetty server for that, and see what is possible to do in camel-jetty if we can get this supported. There is also underto

Blueprint: not ignoring already created

2019-01-21 Thread Bradford Fisher
I'm trying to use a blueprint.xml to initialize my camel routes. From the Camel Spring Documentation it looks like the tag is supposed to ignore any pre-existing route builders created through the use of the tag. However, it looks like Camel is still trying t

Re: Camel-jetty http/2 support

2019-01-21 Thread Roman Vottner
Jetty 9.4 does support HTTPS/2: https://www.eclipse.org/jetty/documentation/9.4.x/http2.html Undertow does support it in version 2 AFAIK: http://undertow.io/blog/2015/04/27/An-in-depth-overview-of-HTTP2.html Roman Vottner — ecosio GmbH Lange Gasse 30, 1080 Vienna, Austria/Europe Mail: roman.vo