<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; ">Hello,</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; min-height: 14px; "><br></p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; ">I am trying to create an udp exchange in order to receive syslog events, but I have some trouble.</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; min-height: 14px; "><br></p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; ">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:</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; min-height: 14px; "><br></p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); ">{error,</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {exit,</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {{function_clause,</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> [{udp_exchange,endpoint_params,</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> [{exchange,</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {resource,<<"/">>,exchange,<<"syslog">>},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> 'x-udp',true,false,false,</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> [{<<"port">>,longstr,<<"5514">>}],</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> undefined}]},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {udp_exchange,validate,1},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {rabbit_exchange,declare,6},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {rabbit_channel,handle_method,3},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {rabbit_channel,handle_cast,2},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {gen_server2,handle_msg,2},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {proc_lib,init_p_do_apply,3}]},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {gen_server,call,</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> [<0.364.0>,</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {call,</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {'exchange.declare',0,<<"syslog">>,<<"x-udp">>,false,true,</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> false,false,false,</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> [{<<"port">>,longstr,<<"5514">>}]},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> none,<0.252.0>},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> infinity]}},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> [{gen_server,call,3},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {rabbit_mgmt_util,'-amqp_request/5-fun-0-',4},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {rabbit_mgmt_util,with_channel,5},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {rabbit_mgmt_util,http_to_amqp,5},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {webmachine_resource,resource_call,3},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {webmachine_resource,do,3},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {webmachine_decision_core,resource_call,1},</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: rgb(72, 72, 72); "> {webmachine_decision_core,accept_helper,0}]}}</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; min-height: 14px; "><br></p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; ">As you can see I have specified the port argument.</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; min-height: 14px; "><br></p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; ">Thanks in advance.</p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; min-height: 14px; "><br></p>
<p style="margin-bottom: 0px; font-size: 12px; line-height: normal; font-family: Helvetica; ">Albert.</p>