8 Replies Latest reply on May 1, 2002 3:19 AM by rajsaini

    OpenJMS && JBoss

    wessorh

      I've been playing with OpenJMS as a replacement for the MQ service that comes with JBoss. I got the /contrib/openjms dist from CVS and followed what little directions that were there but I can't get it to work.

      I'm using JBOSS 2.4 Beta and openjms-0.6.1

      Has anyone gotten this combo to work? I'd appreciate any insite into how to configure the two to live togther.

      thanks,

      -rick

        • 1. Re: OpenJMS && JBoss

          The openjms contrib module of JBoss is as far as I know unsupported (it was I who wrote it).

          It was based on a patched version of open-jms 0.5.1 if I remember correctly and only works with that version. If you want it to work with a newer version you will have to change it, either by checking if they now have a propper ASF API that works with out StdServerSessionPool or if they hace their own (now working) server session pool you will have to fix it such that there is a ServerSessionPool factory that returns the Open JMS ServerSessionPool.

          This will probably take some work to do...

          • 2. Re: OpenJMS && JBoss
            wessorh

            thanks for the clue, would you suggest that I use openjms externally? Are thre any refrences on how to accomplish this?

            I need the ability to presist the messages in oracle and I didn't think the JBossMQ had this capability.

            thanks,

            -rick


            > The openjms contrib module of JBoss is as far as I
            > know unsupported (it was I who wrote it).
            >
            > It was based on a patched version of open-jms 0.5.1
            > if I remember correctly and only works with that
            > version. If you want it to work with a newer version
            > you will have to change it, either by checking if
            > they now have a propper ASF API that works with out
            > StdServerSessionPool or if they hace their own (now
            > working) server session pool you will have to fix it
            > such that there is a ServerSessionPool factory that
            > returns the Open JMS ServerSessionPool.
            >
            > This will probably take some work to do...

            • 3. Re: OpenJMS && JBoss


              >
              > I need the ability to presist the messages in oracle
              > and I didn't think the JBossMQ had this capability.
              >
              > thanks,
              >
              Yes it has, now with JBossMQ 1.0 integrated into 2.4.(next release).

              But its not documented. Ask on the JBossMQ mailing list.

              (I have no time currently in helping to integrate OpenJMS into JBoss, it would be fun to have that integration, but if you go about doing it you are basically on your own. Sorry for that)

              //Peter

              • 4. Re: OpenJMS && JBoss
                marc.fleury

                > > (I have no time currently in helping to integrate
                > OpenJMS into JBoss, it would be fun to have that
                > integration, but if you go about doing it you are
                > basically on your own. Sorry for that)
                >

                Peter correct me if I am wrong, but OpenJMS was integrated when you started developing the MDB stuff. Since then the support for all the features is done in JBossMQ. Also JBossMQ is under a ***tremendous*** growth spurt and development phase, reminds of the old JBoss (sniff!) and the speed is amazing and the features are there and teh 1.0 moniker doesn't do it credit it's a 2.0 implementation.

                In short I don't mean to toot our own horn and if folks want to integrate other servers, like MQSeries, they are welcome but my question boils down to "is there *any* reason to do that today?"


                • 5. Re: OpenJMS && JBoss
                  hchirino

                  As far as I'm concerned the only other MOM that needs to be worked on is MQSeries. If you are working in an all JAVA shop, then JBossMQ fits the bill (I beleive will eventually be THE killer JMS Provider). But since MQSeries runs on over 35+ platforms its a nice MOM for when you have to integrate applications from multiple platforms (MVS,OS400,NCR, etc.).

                  Regards,
                  Hiram

                  • 6. Re: OpenJMS && JBoss


                    > Peter correct me if I am wrong, but OpenJMS was
                    > integrated when you started developing the MDB stuff.
                    > Since then the support for all the features is done
                    > in JBossMQ. Also JBossMQ is under a
                    > ***tremendous*** growth spurt and development phase,
                    > reminds of the old JBoss (sniff!) and the speed is
                    > amazing and the features are there and teh 1.0
                    > moniker doesn't do it credit it's a 2.0
                    > implementation.

                    You are so right. I have to admit that al since Hiram started working on the ASF support I have not been interested in supporting other JMS Provider.
                    >
                    > In short I don't mean to toot our own horn and if
                    > folks want to integrate other servers, like MQSeries,
                    > they are welcome but my question boils down to "is
                    > there *any* reason to do that today?"
                    >

                    There are probably "some" reasons" to do it., but in generall I don't think we have any JBoss specific reason to do it. As you have said before: you code, you code: that is if somene needs it,. does it and maintains it, they are welcome to do it.

                    The top stuff of my personal wishlist for JBossMQ has now been fullfilled:

                    1. It is fully 1.0.2 spec compliant.
                    2. It's stable.
                    3. It's fast.
                    4. It got user documentation

                    But there are probably some things still missing. (I have not check reasonatly, some of them might be fixed:

                    a) failover for ExceptionListener, only works if some message has been received. If server goes down before a message has been received the connection will hang forevere.
                    b) Problem with surable subscriptions in MDB.
                    c) More configurable destination (retention policy, security, sub domain destinations, java space type destination (yes I do have an idea on how to do this ;-))
                    d) Security handling week, should perhaps be integrated with JAAS support..
                    e) HTTP tunneling and SSL.
                    f) Routing and farming.

                    Yeah, there are some more stuff to do ;.-)

                    //Peter
                    >

                    • 7. Re: OpenJMS && JBoss
                      wessorh

                      I have the latest jboss Rel_2_4_1_3 and configed it
                      per the direction of many messages from the JBossMQ list. I still get exceptions thrown from the Persistance manager.

                      Are there any docs on how to config the persistance manager to use a database as the store for messages?

                      thanks,

                      -rick

                      • 8. Re: OpenJMS && JBoss
                        rajsaini

                        Dear Peter and Marc

                        I am sorry for there remarks. But these are the facts of my testing with the JbossMQ in a production environment.

                        JbossMQ is feature reach and easier to configure. However, when it comes to speed and performance it is not yet a production quality application. Therefore, till the time jbossmq matures enough, there will always be need of external JMS server.

                        I have been struggling with the different JBossMQ versions (Standalone, integrated with Jboss 3.0). On speed and performance the JbossMQ is not able to deliver message flow of 2-3 messages per second if the subscribers are more then one.

                        I have been using the openJMS with Jboss 3.0 (Without MDB, I had to replace the MDB with a sync. message receiving EJB). The reason of choosing openJMS over JbossMQ was that JbossMQ failed to deliver.

                        Due, to all these reasons,I would like to work on the Integration of the openJMS with the JBoss. Can u please direct me to the old contrib code, so that I can get little direction to start with)

                        Thanks

                        Raj