6 Replies Latest reply on Mar 12, 2009 1:53 AM by gaohoward

    JMS Configuration

    arunraai

      I am new to JBoss, using Jboss 5.

      is the C:\jboss-5.0.1.GA\server\default\deploy\messaging is the directory for message configuration directory ?

      Which file i should use for the JMS configuration?

      Can anybody tell me what i should configure in same file?

      How to test after the configuration?

      Thanks in advance.
      Arun.

        • 1. Re: JMS Configuration
          ataylor

          I would start by having a look at the user docs. its all explained in there.


          http://www.jboss.org/jbossmessaging/docs/index.html

          • 2. Re: JMS Configuration
            arunraai

            Hi Andy,

            Thanks for your suggestion, it is a good document. It will take a day for me to read and understand the things from it. It would be good if somebody give me specific information regarding this which help me to save time and accomplish my work.

            Thanks
            Arun.

            • 3. Re: JMS Configuration
              arunraai

              I have downloaded the bundle of jboss-5.0.1.GA and configured the JBoss_Home and Path. Server is running fine.

              I have gone through the document you have mentioned and confused in JBossMQ(4.2) to JBoss Messaging-Chapter-4(http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.3.GA/html/installation.html).

              Is it necessary to use/configure database? In my case there no need to use database.

              Why we need to configure ServerPeer?

              My requirement is very simple. I want to use Jboss Messaging for a Queue only.

              i.e. I want to configure/create a Queue, which would store a set of object so that client can lookup those object.

              Form which chapter / from where I need to follow the document?

              Details about my application:
              -----------------------------------
              It is a client side application, a server is invoking my application and sending an Object.
              - Object contains a set of objects/values. I need to persist in database.
              - I am persisting it into database. Depends on values and size of object it takes time in persisting it. Sometimes while persisting server sends another object and because of this synchronization/transaction is not maintained,

              you may suggest me that i should implement thread safety/Synchronized in my code, but in this case i will loose the Object which is coming from the server.

              I planned that if i can save object in JMS Queue and then process it from there; then it would help me to accomplish it.

              Your suggestions would be a good help.

              Arun.

              • 4. Re: JMS Configuration
                gaohoward

                Hi Arun,

                JBM 1.4.3.GA is for AS 5.1. 1.4.1.GA is the right one.

                JBM 1.4 (not 2.0) always needs a db to work with. However, if you don't use cluster, the default DB is well pre-configured and ready to use. So you don't need to worry about it.

                Have a look at deploy/messaging/destinations-service.xml, you need to configure your queue in this file.

                For the rest of your questions, I think you'd better read the document thru. It may take you some time but it would well deserve your time.

                • 5. Re: JMS Configuration
                  arunraai

                  Howard- Thank a lot for your quick reply.

                  Let me go through the document in detail. If there is anything i will put it here.

                  It's a great help..once again thanks.

                  Arun.

                  • 6. Re: JMS Configuration
                    gaohoward

                    no problem.