Spring AMQP is for you!
Using the appropriate template (for example, publish.# ), You bind some user queue to this amq.rabbitmq.trace and configure SimpleMessageListenerContainer to receive messages from this queue.
This can be done even with a fairly simple configuration: @EnableRabbit and @RabbitListener for some POJO method. Anyway, Binding @Bean should be there to bind your turn to this exchange.
source share