[rabbitmq-discuss] Trouble with udp exchange
Albert Aixendri
albertaixendri at gmail.com
Tue Sep 11 10:16:44 BST 2012
Hello,
I am trying to create an udp exchange in order to receive syslog events,
but I have some trouble.
To create the ez plugin I have cloned the source plugin from
https://github.com/tonyg/udp-exchange and I have followed the instructions
from plugin development page. I have got it and I have enabled it. Then
when I try to create the udp exchange via web management but I have got the
following error:
{error,
{exit,
{{function_clause,
[{udp_exchange,endpoint_params,
[{exchange,
{resource,<<"/">>,exchange,<<"syslog">>},
'x-udp',true,false,false,
[{<<"port">>,longstr,<<"5514">>}],
undefined}]},
{udp_exchange,validate,1},
{rabbit_exchange,declare,6},
{rabbit_channel,handle_method,3},
{rabbit_channel,handle_cast,2},
{gen_server2,handle_msg,2},
{proc_lib,init_p_do_apply,3}]},
{gen_server,call,
[<0.364.0>,
{call,
{'exchange.declare',0,<<"syslog">>,<<"x-udp">>,false,true,
false,false,false,
[{<<"port">>,longstr,<<"5514">>}]},
none,<0.252.0>},
infinity]}},
[{gen_server,call,3},
{rabbit_mgmt_util,'-amqp_request/5-fun-0-',4},
{rabbit_mgmt_util,with_channel,5},
{rabbit_mgmt_util,http_to_amqp,5},
{webmachine_resource,resource_call,3},
{webmachine_resource,do,3},
{webmachine_decision_core,resource_call,1},
{webmachine_decision_core,accept_helper,0}]}}
As you can see I have specified the port argument.
Thanks in advance.
Albert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120911/f4df9a95/attachment.htm>
More information about the rabbitmq-discuss
mailing list