activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruce Snyder <bruce.sny...@gmail.com>
Subject Re: How to start a broker with topic when my Spring application starts?
Date Thu, 24 Sep 2009 22:38:31 GMT
On Thu, Sep 24, 2009 at 4:35 PM, James Adams <monocongo@gmail.com> wrote:
>
> I want to start an ActiveMQ broker at the time my Spring web application
> starts.  I also want to create a topic in this broker for use by external
> Java programs as a JMS destination.
>
> I have tried with no success using the approach suggested in the ActiveMQ
> Spring Support documentation and parts of various other examples I've found
> in mailing list and forum posts.  Maybe someone here can point me to a
> better example?
>
> Thanks in advance for any help.

Have you tried configuring it as a startup destination in the activemq.xml?:

http://activemq.apache.org/configure-startup-destinations.html

Bruce
-- 
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

ActiveMQ in Action: http://bit.ly/2je6cQ
Blog: http://bruceblog.org/
Twitter: http://twitter.com/brucesnyder

Mime
View raw message