[rabbitmq-discuss] Direct vs Topic exchange - Question
Simon MacMullen
simon at rabbitmq.com
Thu May 3 11:12:38 BST 2012
On 02/05/12 17:09, Konstantin Kalin wrote:
> Sure. Please look at attached file.
1> publisher:start_publish(<<"topic">>, <<"topic">>, 100000, 100000).
** exception error: undefined function connections:get/0
in function publisher:start_publish/4 (src/publisher.erl, line 27)
OK, that's just a typo I assume, I'll change it to:
Connection = connections:get_connection(),
1> publisher:start_publish(<<"topic">>, <<"topic">>, 100000, 100000).
** exception exit: {noproc,{gen_server,call,[connections,get]}}
in function gen_server:call/2 (gen_server.erl, line 180)
in call from publisher:start_publish/4 (src/publisher.erl, line 27)
So it looks like the connection server is not getting started?
I am starting your app with:
erl -pa apps/common/ebin -pa apps/publisher/ebin -s publisher start
'["amqp://localhost"]'
- is that correct? Can you give more precise instructions for how to
run this app without debugging it? ;)
Cheers, Simon
--
Simon MacMullen
RabbitMQ, VMware
More information about the rabbitmq-discuss
mailing list