[rabbitmq-discuss] Simple C Client to read from a Queue

Sajith Kariyawasam sajhak at gmail.com
Fri Sep 7 09:59:06 BST 2012


Btw, my message broker is Apache Qpid, java broker

On Fri, Sep 7, 2012 at 2:26 PM, Sajith Kariyawasam <sajhak at gmail.com> wrote:

> On Fri, Sep 7, 2012 at 2:03 PM, Tim Watson <tim at rabbitmq.com> wrote:
>
>>  On 09/07/2012 08:23 AM, Brett Cameron wrote:
>>
>> Sajith,
>>
>> Could you just use something like
>> http://manpages.ubuntu.com/manpages/natty/man1/amqp-consume.1.html?
>>
>>
>> That sets up a consumer rather than doing a one-off basic.get - however
>> http://manpages.ubuntu.com/manpages/natty/man1/amqp-get.1.html appears
>> to do exactly what the OP wants. Both of these programs appear to come from
>> the ./tools subdirectory of rabbitmq-c anyway.
>>
>>
> I installed amqp-tools in Ubuntu 12, and issued the following command,
>
> $ amqp-get --server=10.10.1.2 --vhost=test --username=guest
> --password=guest --queue=myqueue,
>
> Then i get following exception ,,
>
>  "basic.get: connection closed unexpectedly"
>
>
>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
>>
>
>
> --
> Best Regards
> Sajith
>
>


-- 
Best Regards
Sajith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120907/1620bbc7/attachment.htm>


More information about the rabbitmq-discuss mailing list