4 Replies Latest reply on Feb 27, 2012 6:01 PM by Justin Bertram

    Read and query HornetQ journal with Java ?

    Akram Ben Aissi Newbie

      Hi Hornets !

       

       

      Can anyone telle me if there is an easy way to read HornetQ Journal from an application (I mean and EJB or a Servlet like method) running on JBoss AS ?

      How can I get the instance of the Journal ? is it accessible and registred in JNDI ?

       

      Moreover, I would like to query it: For example, assuming that I store a field timestamp in my messages, I want all messages with a timestamp higher than a given one. Is it feasible? performant?

       

      I would like to avoid storing my messages in a relationnal database just to have the query feature.

       

      Greetings

      Akram