2 Replies Latest reply on Jun 1, 2012 5:17 PM by lobo369

    ESB ActvieMQ XMPP

    lobo369 Newbie

      I'm using apache-servicemix-4.4.1-fuse-03-06 and I wanto to use de included ActiveMQ with XMPP protocol.

       

      I have configured properly te embeded ActiveMQ with tcp. The problem is when I try add the xmpp protocol the container don't find xmpp librbary.

       

      I supousse the problem is the ESB doesn't contain "activemq-xmpp" component.

       

      I have this component into my maven repository but I don't know where I need to put it.

       

      Tha Jar isn't ready to Osgi.

       

      Is it necessary to osgify the jar ?

       

      or Where do I need to put it ?

       

      Thanks in advanced

        • 1. Re: ESB ActvieMQ XMPP
          Freeman(Yue) Fang Master

          Hi,

           

          Yeah, you need first osgify the jar  and then you can

          1. osgi:install -s mvn:the maven path of the osgified jar

          or

          2. simply put the osgified jar to the $FUSE_ESB/deploy folder.

           

          Freeman

          • 2. Re: ESB ActvieMQ XMPP
            lobo369 Newbie

            ok, I'm wrong.

             

            The activemq-xmpp.jar is osgified jar and It's enough copy the jar into deploy folder.

             

            I only add

             

                        

             

            into activemq-broker.xml

             

            Where do you define the user/password for xmpp server ?

             

            I get the follow exception:

             

            ERROR | ActiveMQ Task-15 | TransportConnector               | ?                                   ? | 57 - org.apache.activemq.activemq-core - 5.5.1.fuse-03-06 | Could not accept connection from tcp://127.0.0.1:4728: javax.xml.bind.JAXBException: "jabber.server" doesnt contain ObjectFactory.class or jaxb.index

             

            Edited by: lalosam369 on Jun 1, 2012 9:17 PM