activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruce Snyder" <bruce.sny...@gmail.com>
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 <petej@rocketmail.com> 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 com.ibm.mq libraries?

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

> 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.

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

Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/

Blog: http://bruceblog.org/

Mime
View raw message