spring - Get annoted method endpoints for JMS -


is there way through can find configured methodjmslistenerendpoint's through annotations?

i want register these end points different message listener containers.

@jmslistener(destination = "testqueue") public void process(string msg) {     system.out.println(msg); }  //todo connections foreach(connections){  //todo  annotated endpoints prototype     foreach(endpoint){       methodjmslistenerendpoint processendpoint = endpoint;       registrar.registerendpoint(processendpoint,containerfactory(connection));     }      } 

depends on provider can use configuration customizer bean hornetqconfigurationcustomizer manipulate settings during bean initialization.

if configuration should adoptive , manageable in runtime should not use @jmslistener annotation @ all. register them in code spring advises: jms


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -