activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <gary.tu...@gmail.com>
Subject Re: Queue MBean lazily created, not registered until first message is sent
Date Fri, 10 Apr 2009 12:53:52 GMT
Yea, Queues are created on demand and hence their MBeans. You can configure
startup destinations at the broker level
<http://activemq.apache.org/configure-startup-destinations.html>that should
help here.

2009/4/9 cjkent <cjkent@hotmail.com>

>
> I've noticed that the MBean for a queue I'm creating doesn't seem to get
> registered until the first message is sent to it.  This is causing me a
> problem because I'm trying to use Spring's MBeanProxyFactoryBean to get a
> proxy to the MBean at startup and pass it to one of my other beans.  But
> Spring throws an exception because it can't find the MBean.  Is there a way
> to force Queue MBeans to be eagerly created and registered when the Queue
> is
> created?
>
> Thanks
> Chris
>
> --
> View this message in context:
> http://www.nabble.com/Queue-MBean-lazily-created%2C-not-registered-until-first-message-is-sent-tp22972957p22972957.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>


-- 
http://blog.garytully.com

Open Source SOA
http://FUSESource.com

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