| | |
| | | return BindingBuilder.bind(orderReturnMoneyQueue()).to(orderReturnMoneyExchange()).with(RabbitQueueEnum.ORDER_RETURN_MONEY.getRoute()); |
| | | } |
| | | |
| | | // === 奖励分发 start === |
| | | @Bean |
| | | public DirectExchange mallCoinDirectRewardExchange() { |
| | | return new DirectExchange(RabbitQueueEnum.MALL_COIN_DIRECT_REWARD.getExchange()); |
| | | } |
| | | |
| | | @Bean |
| | | public Queue mallCoinDirectRewardQueue() { |
| | | return new Queue(RabbitQueueEnum.MALL_COIN_DIRECT_REWARD.getQueue()); |
| | | } |
| | | |
| | | @Bean |
| | | public Binding mallCoinDirectRewardBind() { |
| | | return BindingBuilder.bind(mallCoinDirectRewardQueue()).to(mallCoinDirectRewardExchange()).with(RabbitQueueEnum.MALL_COIN_DIRECT_REWARD.getRoute()); |
| | | } |
| | | // === 奖励分发 end === |
| | | |
| | | } |