activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: Administered Objects
Date Thu, 15 Jun 2006 13:02:24 GMT
On 6/15/06, jhickman <joseph.hickman@nfib.org> wrote:
>
> From the link: "Note that the ActiveMQ Broker will only create server side
> resources for destinations when messages are actually sent to them.", which
> seems to bear out the behavior that I've witnessed -- there are messages in
> the journal/DB table, but when the broker re-starts and I attach via JMX,
> there are no queues in existence (even though messages do still exist). My
> problem statement is that I need to read messages, if they exist. The link
> implies that I must first write at least one message before I can read the
> others. Is this the case?

Not quite. Destinations are typically lazily loaded on demand; so
creating a consumer or producer is enough to activate a destination.
So just create a consumer.

-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message