Re: Re: Camel to not lookup OSGi services when looking up a bean

2020-06-26 Thread Martin Lichtin
It's Camel 2.24.3 On 25.06.2020 17:10, Andrea Cosentino wrote: What is the camel version for this? Il giorno gio 25 giu 2020 alle ore 17:09 Martin Lichtin ha scritto: Is there a way to tell Camel to not search OSGi services when looking up a bean? It seems by default it's continuously looki

Re: Camel to not lookup OSGi services when looking up a bean

2020-06-26 Thread Jean-Baptiste Onofre
Caching is an option indeed. Be careful about OSGi service dynamism (to avoid side effect when the service is not there actually). Regards JB > Le 27 juin 2020 à 07:59, Claus Ibsen a écrit : > > You can cache the bean so the lookup is only done once. > > to("bean:foo?cache=true") > > In Came

Re: Camel to not lookup OSGi services when looking up a bean

2020-06-26 Thread Claus Ibsen
You can cache the bean so the lookup is only done once. to("bean:foo?cache=true") In Camel 3.x there is a new scope option instead On Thu, Jun 25, 2020 at 5:09 PM Martin Lichtin wrote: > > Is there a way to tell Camel to not search OSGi services when looking up a > bean? > > It seems by defaul

Re: custom component vs. sending to a route

2020-06-26 Thread Claus Ibsen
On Fri, Jun 26, 2020 at 12:40 AM Ron Cecchini wrote: > > Thanks as always, Claus. > > Correct, I will want to unregister / close the listener's connection upon > shutdown. > > Correct, I don't want to create the ProducerTemplate over and over. I'll do > it once at initialization. > > I'll look

Re: [HEADS UP] - Java 8 to be dropped

2020-06-26 Thread Claus Ibsen
ah yeah ending june 2021 of course fre. 26. jun. 2020 kl. 18.14 skrev Alex Dettinger : > Thanks for sharing Claus :) > Is the support ending at june 2021 ? Or maybe I miss something ? > > On Fri, Jun 26, 2020 at 10:23 AM Claus Ibsen > wrote: > > > Hi > > > > Just a heads up that from Camel 3.5 o

Re: [HEADS UP] - Java 8 to be dropped

2020-06-26 Thread Alex Dettinger
Thanks for sharing Claus :) Is the support ending at june 2021 ? Or maybe I miss something ? On Fri, Jun 26, 2020 at 10:23 AM Claus Ibsen wrote: > Hi > > Just a heads up that from Camel 3.5 onwards we will drop Java 8 support. > > So this means that minimum Java version is now Java 11. > We are

[HEADS UP] - Java 8 to be dropped

2020-06-26 Thread Claus Ibsen
Hi Just a heads up that from Camel 3.5 onwards we will drop Java 8 support. So this means that minimum Java version is now Java 11. We are also working on adding support for Java 14, but it may take a few releases, but its planned for the next LTS 3.7 release to have both Java 11 and 14 as suppor