1 Reply Latest reply on Jul 16, 2013 3:01 AM by Andy Taylor

    Dynamic Durable Subscriber using HornetQ?

    Gary Motts Newbie

      In the past I have had to create durable subscribers for topics using a spring configuration which  have unique cached connection factories defined for each subscriber component because the cleint id + name for the connection must be unique.  Now I'd like to create these durable subscribers at runtime, and dynamically specify the topic name, clientid, etc.  Does anyone know how to do this using some kind of Spring templating or thorugh creating a POJO  bean that implements a MessageListener?  Any suggestions are welcome.

      Thanks!

       

      -Gary