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.
The spring forum is probably the best place to ask Spring related questions but regarding a pojo, you can just use JMS.