3 Replies Latest reply on Sep 26, 2005 10:47 PM by genman

    how to communicate between two jbossmq with different versio

      Hi

      I have two jboss installations. One is jboss-3.2.3 and the other is jboss-4.0.2.

      Due to the requirement of application, i need to move the message within jboss-4.0.2 queue into jboss-3.2.3's queue. But due to the version is different, the jbossmq of 3.2.3 canot talk to 4.0.2.

      How to solve such a problem?

      thanks a lot

      yang

        • 1. Re: how to communicate between two jbossmq with different ve
          genman


          The reason they can't talk is due to the serialization differences, but these have been fixed in later versions.

          Upgrade 3.2.3 to a newer version (3.2.7) with serialization compatibility.

          If you can't do a full upgrade, then it's probably a pretty complicated job. You may be able to create your own 3.2.3 with the serialization fixes from a later release.

          • 2. Re: how to communicate between two jbossmq with different ve

            I cannot upgrade due to these are production systems.

            What i am trying to do is to add a bridge between these two system to parse the JMS message and then create new JMS messages.

            Now, the coming problem is the classloader issue because i need to use two different version of jbossmq-client in the same bridge JVM.

            Of course, i can build the bridge by using two JVM communicated through network. But i would like to try one JVM first because one JVM gives more reliability.

            any commend?

            thanks
            yang

            • 3. Re: how to communicate between two jbossmq with different ve
              genman


              If the serialization is different between versions, you can't really do what you describe without changing the underlying bytes in the message, namely changing the Serialization ID to match.