| | |
| | | return BindingBuilder.bind(antKLineQueue()).to(antKLineExchange()).with(QueueEnum.ANT_K_LINE.getRoute()); |
| | | } |
| | | // === A k线数据 end === |
| | | |
| | | |
| | | // === A k线数据 start === |
| | | @Bean |
| | | public DirectExchange antKLineABExchange() { |
| | | return new DirectExchange(QueueEnum.ANT_K_LINE_AB.getExchange()); |
| | | } |
| | | |
| | | @Bean |
| | | public Queue antKLineABQueue() { |
| | | return new Queue(QueueEnum.ANT_K_LINE_AB.getQueue()); |
| | | } |
| | | |
| | | @Bean |
| | | public Binding antKLineABBind() { |
| | | return BindingBuilder.bind(antKLineABQueue()).to(antKLineABExchange()).with(QueueEnum.ANT_K_LINE_AB.getRoute()); |
| | | } |
| | | // === A k线数据 end === |
| | | } |