1 Reply Latest reply on Feb 8, 2008 10:56 AM by adrian.brock

    Receiving JMS messages with a JSP

    bsonrisa

      I need to write a JSP that does the following: When a JMS message comes in on a certain queue, the JSP refreshes the screen and displays the message's text. Is there a way to do this on JBoss? For example, is it possible to run a Message-Driven Bean and somehow refresh the JSP during the onMessage handler?

        • 1. Re: Receiving JMS messages with a JSP

          You're question is really just "how do I refresh a jsp page on an event".

          e.g. possible solutions refresh in the html or AJAX.

          JMS (the specific event) is irrelevant to your question and it is therefore not
          something that is likely to get answered here.