activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <>
Subject Re: Reading a message with a amqsgetc
Date Wed, 22 Oct 2008 14:59:02 GMT
On Wed, Oct 22, 2008 at 8:47 AM, ZeePeeWee <> wrote:
> I'm using the example ant producer to put messages on a queue. That's worked
> fine and I've 2000 messages on a queue. Can I then read them using amqsgetc
> or the by using libraries?

You will need to connect to ActiveMQ using the
ActiveMQConnectionFactory and then read the messages using standard

> I don't see where anyone has done this so I'm guessing it's not possible. I
> just want to read the messages I've put on with the sample tool. I don't
> want produce any messages myself. I've tried various jms settings all with
> no real success.

With the examples is a consumer that can be run via the 'ant consumer' command.

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

Apache ActiveMQ -
Apache Camel -
Apache ServiceMix -


View raw message