Hello. Sorry for the question about "camel-activeemq" (double e) <> "camel-activemq". I thought you were talking about another distinct Camel component... camel-activemq is in fact the component i'd like to use...
I don't understand why using ActiveMQ 2.16.5 and a connection factory that I create the same way, the camel-activemq is able to detect the unique instance of the service with no need to add a reference in all our 100+ projects, but the camel-jms do not. Why the camel-activemq that is clearly documented as the preferred one to connect to ActiveMQ is not provided now in 2.17.1... Thanks again. Regards. Le lun. 22 août 2022 à 07:01, Jean-Baptiste Onofré <j...@nanthrax.net> a écrit : > Hi, > > here's the documentation about camel-activemq: > https://camel.apache.org/components/3.18.x/activemq-component.html > > About the ConnectionFactory, you have to define it as reference in > your route. You can find an example here: > > > https://github.com/jbonofre/camel-amq-redelivery/blob/master/src/main/resources/OSGI-INF/blueprint/route.xml > > https://github.com/jbonofre/camel-amq-redelivery/blob/master/src/main/resources/OSGI-INF/blueprint/connectionfactory.xml > > Regards > JB > > On Sun, Aug 21, 2022 at 10:22 AM Ephemeris Lappis > <ephemeris.lap...@gmail.com> wrote: > > > > Hello. > > > > I've never seen any documentation about "camel-activeemq" : what's the > > feature that provides it ? > > > > As I've said before, I've been trying to use camel-jms but surprisingly > > my unique connection factory is not detected, and the component asks for > > an explicit declaration. I thought that one unique connection factory > > should be taken into account... I've created a unique connection factory > > using "jms:create" connecting to an external ActiveMQ, and I've checked > > that the service is present declaring the right interface. Is there a > > special way of declaring or naming the connexion factory to make it > > available for routes with camel-jms endpoints ? > > > > Thanks a lot for your help. > > > > Regards. > > > > Ephemeris Lappis > > > > Le 21/08/2022 à 08:12, Jean-Baptiste Onofré a écrit : > > > That's correct: activemq-camel has been removed. > > > > > > You can now use camel-jms (recommended) or camel-activeemq. > > > > > > You can wrap your own component if needed, but I would rather update > > > to camel-jms (not so hard to do). > > > > > > Regards > > > JB > > > > > > On Fri, Aug 19, 2022 at 12:33 PM Ephemeris Lappis > > > <ephemeris.lap...@gmail.com> wrote: > > >> Hello. > > >> > > >> I've been working before on ActiveMQ 5.16.5, but as this version > leads to > > >> too many problems on Karaf 4.4.1 (spring compatibility among other > issues), > > >> I've decided to switch to ActiveMQ 5.17.1. > > >> > > >> Before, I think the component camel-activemq was provided by the > feature > > >> activemq-camel, but with 5.17.1 it doesn't appear anymore in this > feature, > > >> if I'm not wrong... > > >> > > >> I've also tried as you suggested to use the jms component in my > routes, but > > >> the connection factory I've created to connect to my ActiveMQ server > is not > > >> taken into account by the component that requires an explicit > connection > > >> factory... Changing all our about 100 camel projects to change from > > >> activemq to jms and declare a connection factory reference seems to > be a > > >> very bad choice for us... > > >> > > >> So, from both sides I've issues. > > >> > > >> Any idea to get out of this sad situation 😥 ? > > >> > > >> Thanks a lot ! > > >> > > >> Regards. > > >> > > >> PS: Perhaps the documentation on the component should say that it's > > >> available "Since Camel 1.0" but also only with restriction after a > given > > >> version... > > >> > > >> > > >> Le ven. 19 août 2022 à 11:51, Claus Ibsen <claus.ib...@gmail.com> a > écrit : > > >> > > >>> camel-activemq is not out of the box in Apache Camel in Camel v2. > > >>> It comes from Apache ActiveMQ 5.x instead. > > >>> > > >>> However starting from ActiveMQ 5.17 then they dropped their > camel-activemq > > >>> JAR and its no longer available. > > >>> Instead use the generic camel-jms instead. Or go back to ActiveMQ > 5.16.x > > >>> > > >>> In the Camel website make sure to browse the components list for the > Camel > > >>> version you use. The list is different per version. > > >>> > > >>> > > >>> On Fri, Aug 19, 2022 at 11:35 AM Ephemeris Lappis < > > >>> ephemeris.lap...@gmail.com> wrote: > > >>> > > >>>> Hello. > > >>>> > > >>>> I've already asked the question, but probably not clearly... > > >>>> > > >>>> I don't understand why I can't resolve the dependency for : > > >>>> org.apache.camel:camel-activemq:jar:2.25.4 > > >>>> > > >>>> I used this component for a long time on old servicemix > environments, > > >>>> and I'm trying to port my projects to Karaf using Camel 2.25.4 (and > > >>>> ActiveMQ 5.17.1). > > >>>> > > >>>> The component is still documented on the Camel components list, but > I > > >>>> can't find it. > > >>>> > > >>>> Any help ? > > >>>> > > >>>> Thanks in advance. > > >>>> > > >>>> Regards. > > >>>> > > >>> > > >>> -- > > >>> Claus Ibsen > > >>> ----------------- > > >>> http://davsclaus.com @davsclaus > > >>> Camel in Action 2: https://www.manning.com/ibsen2 > > >>> > > > > -- > > Cet e-mail a été vérifié par le logiciel antivirus d'Avast. > > www.avast.com >