[rabbitmq-discuss] Can't read messages with erlang client

Mark Geib mark.geib at echostar.com
Mon Feb 2 20:53:24 GMT 2009


Followup. Turns out this was an issue totally unrelated to rabbitmq, 
erlang, etc.

Thanks for the help.

Mark.

Ben Hood wrote:
> Mark,
> 
> On Sat, Jan 31, 2009 at 5:20 PM, Mark Geib <mark.geib at echostar.com> wrote:
>> For the producer I do...
> 
> Ok, let's start with first principles - what behavior do you see when
> you rearrange your code in this way:
> 
> test() ->
>     Connection = lib_amqp:start_connection("localhost"),
>     Channel = lib_amqp:start_channel(Connection),
>     X = <<"cse.sms.commands">>,
>     K = <<"test.messages">>,
>     lib_amqp:declare_exchange(Channel, X, <<"topic">>),
>     Q = lib_amqp:declare_queue(Channel),
>     lib_amqp:bind_queue(Channel, X, Q, K),
>     lib_amqp:publish(Channel, X, K, <<"This is a test message">>),
>     lib_amqp:get(Channel, Q, false).
> 
> 
> Ben
> 

-- 
Principal Engineer
Cheyenne Software Engineering
mark.geib at echostar.com / 35-215





More information about the rabbitmq-discuss mailing list