Fix rabbit configuration without cluster
This commit is contained in:
parent
d23a264bd3
commit
917709f3d3
@ -2,12 +2,16 @@
|
|||||||
% Template Path: <%= module_name %>/templates/rabbitmq.config
|
% Template Path: <%= module_name %>/templates/rabbitmq.config
|
||||||
[
|
[
|
||||||
<% if config_cluster -%>
|
<% if config_cluster -%>
|
||||||
{rabbit, [{cluster_nodes, [<%= cluster_disk_nodes.map { |n| "\'rabbit@#{n}\'" }.join(', ') %>]}]}
|
{rabbit, [{cluster_nodes, [<%= cluster_disk_nodes.map { |n| "\'rabbit@#{n}\'" }.join(', ') %>]}]}
|
||||||
<% end -%>
|
<% if config_stomp -%>
|
||||||
<% if config_stomp -%>
|
% Configure the Stomp Plugin listening port
|
||||||
% Configure the Stomp Plugin listening port
|
,{rabbitmq_stomp, [{tcp_listeners, [<%= stomp_port %>]} ]}
|
||||||
,{rabbitmq_stomp, [{tcp_listeners, [<%= stomp_port %>]} ]}
|
<% end -%>
|
||||||
<% else -%>
|
<% else -%>
|
||||||
|
<% if config_stomp -%>
|
||||||
|
% Configure the Stomp Plugin listening port
|
||||||
|
{rabbitmq_stomp, [{tcp_listeners, [<%= stomp_port %>]} ]}
|
||||||
|
<% end -%>
|
||||||
<% end -%>
|
<% end -%>
|
||||||
].
|
].
|
||||||
% EOF
|
% EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user