3 Replies Latest reply on Jul 25, 2012 7:05 PM by ffang

    How to update activemq to a newer version?

    afilipchik

      Is it possible to pre-configure FuseESb to start up with different ActiveMQ broker version (activemq-optional/5.6-fuse-SNAPSHOT)?

       

      I added        

      repo mvn:org.apache.activemq/activemq-karaf/5.6-fuse-SNAPSHOT/xml/features,

       

      and feature activemq-optional/5.6-fuse-SNAPSHOT to the org.apache.karaf.features.cfg but it did not help.

       

      Edited by: afilipchik on Jul 24, 2012 7:09 PM

        • 1. Re: How to update activemq to a newer version?
          njiang

          You may need to add the mvn repo url  of org.ops4j.pax.url.mvn.repositories in the $ESB_HOME/etc/org.ops4j.pax.url.mvn.cfg

           

          Did you have change to check the log file in the $ESB_HOME/data directory?

           

          Willem

          • 2. Re: How to update activemq to a newer version?
            afilipchik

            I did. Sorry for confusion, but I was able to install bundles from console. I just can't do it from config.

            Also what I can't do - remove previous version of active mq from configs.

            It looks like some core features references them.

            • 3. Re: How to update activemq to a newer version?
              ffang

              Hi,

               

              Though you can try, but I don't suggest you do this way yourself, it means a lot of hack and can't guarantee it still work after this change.

              At least you need do

              1. edit etc/org.apache.karaf.features.cfg, for featuresRepositories property, change

              mvn:org.apache.activemq/activemq-karaf/$/xml/features

              to

              mvn:org.apache.activemq/activemq-karaf/5.6-fuse-SNAPSHOT/xml/features

               

              2. find all activemq bundles from all features from $FUSE_ESB home and change the version to 5.6-fuse-SNAPSHOT

              you can use command like

              find . -name "feature.xml"|xargs grep activemq

               

              3. remove $FUSE_ESB/data and restart

              Freeman