1 Reply Latest reply on May 25, 2009 8:00 PM by hcgpragt

    jms topic

    kgoedert

      Hi,


      I have an application that sends messages to a jms topic. Now, I would like my seam application to subscribe to that jms topic and consume that messages generated and, every time I message is received a page is refreshed with the message content.


      Is it possible?


      Thanks for any help.


      Kelly

        • 1. Re: jms topic
          hcgpragt


          Sure it is.

          Just google for seam ajax server push. It gave me a nice PDF on how pushing messages is done in ICEFaces. One of the JSF implementations in seam.


          I guess I would:



          1. Make a topic listener MDB (persistent topic?)

          2. Send messages to an autocreated SFSB in application scope

          3. Make a webpage with an ajax call to the SFSB which gives me the messages based on conversation id or some such. (see PDF mentioned above)



          Just to give you an idea.


          H