[rabbitmq-discuss] Error with cast

Ben Hood 0x6e6562 at gmail.com
Tue Jul 22 14:30:04 BST 2008


Mietek,

I'm responding to you via email because we both seem to be on IRC at
totally different times.

[{function_clause,
[{amqp_channel,call,
[<0.59.0>,
{'basic.publish',101,<<>>,<<"wire.request">>,
true,true},
{content,60,
{'P_basic',<<"application/octet-stream">>,
undefined,undefined,1,0,undefined,undefined,
undefined,undefined,undefined,undefined,
undefined,undefined,undefined},
none,
[<<"payload">>]}]}

This means that you trying to call amqp_channel:call/3 and not
amqp_channel:cast/3.

amqp_channel:call/3 is not defined for the pattern that you are using,
hence why it causes a function_clause error.

HTH,

Ben




More information about the rabbitmq-discuss mailing list