activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ZeePeeWee <pe...@rocketmail.com>
Subject Re: Reading a message with a amqsgetc
Date Wed, 22 Oct 2008 15:42:15 GMT

Yes I tried the consumer tool and that worked fine. I ideally want to read
what I have placed on
activemq with IBM tooling. Initially the test tool "getc" and then with the
MQQueueManager and associated classes out of the com.ibm.mq jars. 

My final aim to provide an IBM look-alike interface for reading whose
underbelly is actually activemq. I was hoping that the IBM tools would use
some standard protocol - they are clearly not doing so. This would be for
test environments where Websphere MQ isn't readily available. However a
quick activemq installation plus a little bit of reading software would be
easy to make available.

As others have suggested it's probably writing your own code and then using
some camel type approach. Although you still wonder if that will work due to
the protocol issues.

--back to the drawing board. cheers for the answers.

Pete


bsnyder wrote:
> 
> 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.
> 
> 

-- 
View this message in context: http://www.nabble.com/Reading-a-message-with-a-amqsgetc-tp20112274p20113653.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message