On 6/15/06, jhickman <[EMAIL PROTECTED]> 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/

Reply via email to