JMS suscriber
843830Apr 16 2007 — edited Apr 17 2007hello im french excuse my english...
i have realize a jms server with a topic name MYTOPIC
i create 2 clients each one nead to create a distinct DURABLE suscriber FirstSub and SecondSub
after i atatch a listenner on each suscriber.
another client can post message with publisher. its work fine. message arrive in the two subscriber
but...
when i m stopping my application, durable suscriber dont delete message, its good and normal becaus i use durable, but when i restart my application i want to suscribe to FirstSub and SecondSub to create a listenner on it and to consume message but it doeasn't work
i do this : ts.createDurableSuscriber(topic, "FirstSub"); but
i have a jmsecpetion and message : durable susbcription have already been activated and after that my queue message are not consume...
i want to know if we can list suscriber into a topic and get a topicssubscriber objet on it if already exist and attach my listener and if not exist call method createdurablesubscriber...
thanks a lot