Yes.

Referencing the connection factory that ActiveMQ publishes as an OSGi service is the best way to setup jms in Karaf anyway.

Christian

Am 25.04.2012 17:35, schrieb Guillaume Nodet:
No, but depending on the configuration it may expose a JMSCOnnectionFactory which can be obtained from the OSGi registry.

On Wed, Apr 25, 2012 at 17:30, Jean-Baptiste Onofré <[email protected] <mailto:[email protected]>> wrote:

    Agree Achim, however, I'm not sure that ActiveMQ register a
    service per queue or topic for instance (only for the broker).

    Regards
    JB


    On 04/25/2012 05:18 PM, Achim Nierbeck wrote:

        Never the less you shouldn't rely on the startlevels,
        I suggest that your application waits on services provided by the
        ActiveMQ broker.
        This is far more safe and more OSGi like ;)

        regards, Achim

        2012/4/25 Jean-Baptiste Onofré<[email protected]
        <mailto:[email protected]>>:

            Hi Jason,

            Using a feature, you can define the start-level of the
            bundles in the
            feature.

            Regards
            JB


            On 04/25/2012 05:12 PM, Jason wrote:


                Hi all,

                I have an application that uses Apache ActiveMQ in
                Karaf. I have a
                broker project and multiple other projects that should
                depend on the
                broker service to be started. How do I specify in the
                maven pom
                (maven-bundle-plugin) that the child projects should
                wait until the
                broker is started?

                Thanks,
                Jason



            --
            Jean-Baptiste Onofré
            [email protected] <mailto:[email protected]>
            http://blog.nanthrax.net
            Talend - http://www.talend.com





-- Jean-Baptiste Onofré
    [email protected] <mailto:[email protected]>
    http://blog.nanthrax.net
    Talend - http://www.talend.com




--
------------------------
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
FuseSource, Integration everywhere
http://fusesource.com


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com

Reply via email to