activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Bryant" <d...@netinlet.com>
Subject Re: auto starting a consumer
Date Wed, 23 May 2007 14:37:43 GMT
Thanks for pointing out what should have been the completely obvious, the
fact that activemq.xml is just a spring config file :)

Doug

On 5/23/07, James Strachan <james.strachan@gmail.com> wrote:
>
> On 5/23/07, Doug Bryant <doug@netinlet.com> wrote:
> > I have an application which is 100% ruby right now.  A requirement has
> > arisen to in which I need to make use of existing java libraries.
> >
> > The simplest and most obvious solution (to me, anyway) is to communicate
> > with activemq via stomp with ruby and have the java class consuming on
> the
> > proper queue.
> >
> > Is there a way to autostart a listener when activemq starts or do have
> to do
> > something like embed activemq inside tomcat and control deployments
> within
> > tomcat?  Any other recommendations.
>
> The simplest approach would be to run the listener inside the same JVM
> as the ActiveMQ broker. You can do that in various ways; using the
> activemq shell script (and just add your spring configuration to
> activemq.xml for your listener), or create a WAR and use tomcat.
>
> http://activemq.apache.org/run-broker.html
>
> --
> James
> -------
> http://macstrac.blogspot.com/
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message