On Wed, Oct 22, 2008 at 8:47 AM, ZeePeeWee <[EMAIL PROTECTED]> 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)[EMAIL PROTECTED]&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/