localhost:rabbitmq_server-3.3.1 $ sbin/rabbitmqctl set_parameter federation-upstream trial1-upstream '{"uri":"amqp://localhost:5672","expires":3600000,"ack-mode":"on-publish"}'
Setting runtime parameter "trial1-upstream" for component "federation-upstream" to "{\"uri\":\"amqp://localhost:5672\",\"expires\":3600000,\"ack-mode\":\"on-publish\"}" ...
...done.
localhost:rabbitmq_server-3.3.1 $ sbin/rabbitmqctl set_parameter federation-upstream trial2-upstream '{"uri":"amqp://localhost:5674","expires":3600000,"ack-mode":"on-publish"}'
Setting runtime parameter "trial2-upstream" for component "federation-upstream" to "{\"uri\":\"amqp://localhost:5674\",\"expires\":3600000,\"ack-mode\":\"on-publish\"}" ...
...done.
localhost:rabbitmq_server-3.3.1 $ sbin/rabbitmqctl set_parameter federation-upstream-set trial-set '[{"upstream":"trial1-upstream"},{"upstream":"trial2-upstream"}]'
Setting runtime parameter "trial-set" for component "federation-upstream-set" to "[{\"upstream\":\"trial1-upstream\"},{\"upstream\":\"trial2-upstream\"}]" ...
...done.
localhost:rabbitmq_server-3.3.1 $ sbin/rabbitmqctl set_policy --apply-to exchanges federate-me2 "^subscription_exchange" '{"federation-upstream-set":"trial-set"}'
Setting policy "federate-me2" for pattern "^subscription_exchange" to "{\"federation-upstream-set\":\"trial-set\"}" with priority "0" ...
...done.
localhost:rabbitmq_server-3.3.1 $ <rabbit:connection-factory id="connectionFactory"
addresses="localhost:5672,localhost:5674"
username="${queue.username}"
password="${queue.password}"
channel-cache-size="${queue.channel.cache.size}"/>
<rabbit:connection-factory id="consumerConnFactory"
addresses="localhost:5673"
username="${queue.username}"
password="${queue.password}"
channel-cache-size="${queue.channel.cache.size}"/>
<!-- template used for sending message on to queue -->
<rabbit:template id="genericTemplateWithRetry" connection-factory="connectionFactory" exchange="subscription_exchange" retry-template="retryTemplate"/>
<rabbit:direct-exchange name="subscription_exchange">
<rabbit:bindings>
<rabbit:binding queue="subscription_renewal_queries" key="v1-subscription-renewal-query"/>
</rabbit:bindings>
</rabbit:direct-exchange>
<rabbit:listener-container connection-factory="consumerConnFactory" message-converter="jsonMessageConverter" requeue-rejected="false">
<rabbit:listener ref="subscriptionRenewalQueryListener" method="listen" queue-names="subscription_renewal_queries"/>
</rabbit:listener-container>--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.