2 Replies Latest reply on Jul 21, 2005 6:27 PM by kukeltje

    Considering JBossMQ

    mphansen

      Hi,

      We are considering using JMS and JBossMQ on JDK 1.3 based system (so only JBoss 3.2.x) and we have a few concerns that I thought you might help me sort out.

      1) Is is possible to manipulate messages in a queue/topic? We want to be able to delete messages.
      2) Any administrative tools out there that can help us with my first question?
      3) The message payload may consist of multiple MB's (even GB's in a few cases) and we are concerned with the performance when messages are consumed. Any possibility to lazy-load when consuming messages?
      4) What happens if a consumer fails to consume a message. Is the message put in the back of the queue? If so how is this done? By reference or by copying the object?

      Regards
      Mads

        • 1. Re: Considering JBossMQ
          genman

           

          1) Is is possible to manipulate messages in a queue/topic? We want to be able to delete messages.


          There are third-party tools, like HermesJMS, you can use.

          If all you want to do is delete certain messages using a message selector, then writing a trivial MBean to do so would be simple.

          3) The message payload may consist of multiple MB's (even GB's in a few cases) and we are concerned with the performance when messages are consumed. Any possibility to lazy-load when consuming messages?

          I imagine almost all messaging servers require that a message reside in memory when processing it, so you have to take that into consideration when dealing with 1GB+ messages.

          You may want to stream the contents separately in a DB and then use small messages (pointers) to the actual contents.

          4) What happens if a consumer fails to consume a message. Is the message put in the back of the queue? If so how is this done? By reference or by copying the object?


          Of course, references to messages are used when processing them. They are only created once on the server, but are copied when sent to the client.


          • 2. Re: Considering JBossMQ
            kukeltje

            If you can store the real content via other ways, outside of jms, and use the jms messages as triggers to process them, you could gain some performance. We, e.g. use a shared filesystem between two applications for storing the data but all triggering etc is done in jms/mdb's