| | |
| | | return BindingBuilder.bind(activityOrderCheckQueue()).to(activityOrderCheckExchange()).with(RabbitQueueEnum.ACTIVITY_ORDER_ITEM_CHECK.getRoute()); |
| | | } |
| | | |
| | | |
| | | @Bean |
| | | public DirectExchange clothesAddLikeExchange() { |
| | | return new DirectExchange(RabbitQueueEnum.CLOTHES_ADD_LIKE.getExchange()); |
| | | } |
| | | |
| | | @Bean |
| | | public Queue clothesAddLikeQueue() { |
| | | return new Queue(RabbitQueueEnum.CLOTHES_ADD_LIKE.getQueue()); |
| | | } |
| | | |
| | | @Bean |
| | | public Binding clothesAddLikeBind() { |
| | | return BindingBuilder.bind(clothesAddLikeQueue()).to(clothesAddLikeExchange()).with(RabbitQueueEnum.CLOTHES_ADD_LIKE.getRoute()); |
| | | } |
| | | |
| | | |
| | | @Bean |
| | | public DirectExchange clothesAddCollectExchange() { |
| | | return new DirectExchange(RabbitQueueEnum.CLOTHES_ADD_COLLECT.getExchange()); |
| | | } |
| | | |
| | | @Bean |
| | | public Queue clothesAddCollectQueue() { |
| | | return new Queue(RabbitQueueEnum.CLOTHES_ADD_COLLECT.getQueue()); |
| | | } |
| | | |
| | | @Bean |
| | | public Binding clothesAddCollectBind() { |
| | | return BindingBuilder.bind(clothesAddCollectQueue()).to(clothesAddCollectExchange()).with(RabbitQueueEnum.CLOTHES_ADD_COLLECT.getRoute()); |
| | | } |
| | | |
| | | } |