Re: custom component vs. sending to a route

2020-06-25 Thread Ron Cecchini
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 into what it takes to create a custom component, but in the meantime,

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

2020-06-25 Thread Andrea Cosentino
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 looking up the service references, > would like to turn this

Camel to not lookup OSGi services when looking up a bean

2020-06-25 Thread Martin Lichtin
Is there a way to tell Camel to not search OSGi services when looking up a bean? It seems by default it's continuously looking up the service references, would like to turn this off. Stack Trace    Sample Count    Percentage(%) java.util.TreeMap.getEntryUsingComparator(Object)    17    3.753