| | |
| | | |
| | | @Bean |
| | | public Binding orderReturnMoneyBind() { |
| | | return BindingBuilder.bind(agentReturnMoneyQueue()).to(agentReturnMoneyExchange()).with(RabbitQueueEnum.ORDER_RETURN_MONEY.getRoute()); |
| | | return BindingBuilder.bind(orderReturnMoneyQueue()).to(orderReturnMoneyExchange()).with(RabbitQueueEnum.ORDER_RETURN_MONEY.getRoute()); |
| | | } |
| | | |
| | | |
| | | @Bean |
| | | public DirectExchange syAppOrderPayDoneExchange() { |
| | | return new DirectExchange(RabbitQueueEnum.SY_APP_ORDER_PAY_DONE.getExchange()); |
| | | } |
| | | |
| | | @Bean |
| | | public Queue syAppOrderPayDoneQueue() { |
| | | return new Queue(RabbitQueueEnum.SY_APP_ORDER_PAY_DONE.getQueue()); |
| | | } |
| | | |
| | | @Bean |
| | | public Binding syAppOrderPayDoneBind() { |
| | | return BindingBuilder.bind(syAppOrderPayDoneQueue()).to(syAppOrderPayDoneExchange()).with(RabbitQueueEnum.SY_APP_ORDER_PAY_DONE.getRoute()); |
| | | } |
| | | |
| | | } |