This commit is contained in:
xiangwb
2018-04-25 16:15:00 +08:00
parent 5b441d3aa7
commit 852cb8a530
4 changed files with 50 additions and 11 deletions
@@ -35,11 +35,11 @@ public class RabbitConfig {
//绑定
@Bean
public Binding bindingExchangeMessage() {
return BindingBuilder.bind(serverInvokeQueue()).to(topicExchange()).with(RabbitConstant.SERVER_INVOKE_ROUTINGKEY);
return BindingBuilder.bind(serverInvokeQueue()).to(topicExchange()).with(RabbitConstant.SERVER_INVOKE_ROUTING_KEY);
}
@Bean
public Binding bindingExchangeMessages() {
return BindingBuilder.bind(httpRequestQueue()).to(topicExchange()).with(RabbitConstant.HTTP_REQUEST_ROUTINGKEY);
return BindingBuilder.bind(httpRequestQueue()).to(topicExchange()).with(RabbitConstant.HTTP_REQUEST_ROUTING_KEY);
}
}