0 Replies Latest reply on Apr 17, 2003 11:59 AM by jjkumar_73

    Dynamic Message Selector

    jjkumar_73

      I have a jms publisher which will publish a message every second. I set an unique property for each message i publish. In the subscriber part i have the receive method inside an infinite loop. Now if i have to use a message selector in the publisher i have to create the topicSubscriber object everytime since the selector has to be dynamic. But this doesnt work. Can anyone give me a solution for this. The subscriber must be subscribing continuously. Can u please give a sample code for that.

      Thanks in advance