Home > front end > How to dynamically set the destination of a @ JmsListener in ActiveMQ
How to dynamically set the destination of a @ JmsListener in ActiveMQ
Time:10-05
Consumption by SpringBoot queue, only through @ JmsListener (destination="queueName) annotations, can be achieved for a particular queue of consumption, but the way of annotation and the destination only write die in the code, can't dynamic modification, and I think the effect of the implementation is to be able to dynamically modify the destination, dynamically create the Consumer, want to ask everyone how dynamic binding @ JmsListener (destination=" queueName) of destination, river's lake emergency!