4 Replies Latest reply on Feb 22, 2011 4:49 AM by rdgupt

    HornetQ Clients with older Java versions

    rdgupt

      Hi,

       

      Is it possible that HornetQ server is running on jdk 5 or later ( as mentioned on page: http://community.jboss.org/wiki/HornetQTechnicalFAQ/diff?secondVersionNumber=16), but clients running on older java versions like JDK 1.4? Are there HortnetQ client libraries made available for older java versions?

       

      Thanks,

      Rishi

        • 1. Re: HornetQ Clients with older Java versions
          clebert.suconic

          We currently have the server at JDK 1.6, and clients at 1.5

           

           

          1.4- will probably require stomp... I'm not sure how much work would be to make it run with JDK 1.4, and I honestly don't think it's worth the effort.

           

          It's possibly just easier to run Stomp clients through Java if you require JDK 1.4

           

           

          (BTW: YOu should have used the user's forum.. that's why nobody saw your question).

          • 2. HornetQ Clients with older Java versions
            rdgupt

            Thanks Clebert!

             

            my mistake about posting in wrong forum.

            I realized my mistake right after posting. Tried moving it to user's forum, could find an easy way to move it to user forum.

            Will be more careful from next time onwards.

            • 3. Re: HornetQ Clients with older Java versions
              clebert.suconic

              I will move it to user's forum. (you need permissions to move it)

               

               

              Also: i have post-edited my answer:

               

               

              (1.4- will probably require stomp..   I had 1.5 by a typo here before, just realized it and fixed it).

              • 4. HornetQ Clients with older Java versions
                rdgupt

                Thanks Clebert!

                 

                I have done a small test by writing simple Java program (compiled/run by jdk 1.4) sending msgs to HornetQ server using Stomp. It has been successful.

                 

                I have one more small question related to it: Msgs sent by Stomp gets cleared from the queue when I re-start HornetQ i.e. they don't appear to be persistent. While msgs sent using JMS are persistent. Is there some separate configuration/setting I need to do for Stomp msgs also to be persistent?

                 

                Thanks,

                Rishi