-
1. Re: Problems with a client on a JBoss AS 4.2.3 with Messaging 1.4.5 consuming messages from a JBoss AS 5.1 with Messaging 1.4.6
gaohoward Mar 17, 2010 9:33 AM (in response to mzeijen)I don't think it's going to work. You need to use the same version of JBM as well as it dependencies (mostly remoting, aop, jgroups) for your client and server.
-
2. Re: Problems with a client on a JBoss AS 4.2.3 with Messaging 1.4.5 consuming messages from a JBoss AS 5.1 with Messaging 1.4.6
mzeijen Mar 17, 2010 9:46 AM (in response to mzeijen)If I would switch to JBoss HornetQ on the JBoss 5.1 Server and install the HornetQ client on the JBoss 4.2.3 version would I then be able to make it work?
-
3. Re: Problems with a client on a JBoss AS 4.2.3 with Messaging 1.4.5 consuming messages from a JBoss AS 5.1 with Messaging 1.4.6
gaohoward Mar 17, 2010 10:02 AM (in response to mzeijen)I never tried it. But I think it should work. HornetQ is a standalone messaging system in that it has almost zero dependency on other JBoss projects.
You can ask the HornetQ forum for help on the integration HornetQ with AS4 and 5. I think there are some article already for this topic by some developers. -
4. Re: Problems with a client on a JBoss AS 4.2.3 with Messaging 1.4.5 consuming messages from a JBoss AS 5.1 with Messaging 1.4.6
mzeijen Mar 17, 2010 10:08 AM (in response to mzeijen)Thanks for the info. I am wondering one thing. I did test with a standalone client that used the same libraries as the JBoss As 4.2.3. This application can work with the Messaging System on the JBoss AS 5.1 without any problems. How can that be if the library version differences between the JBoss AS 4.2.3. and the JBoss AS 5.1 are the problem? -
5. Re: Problems with a client on a JBoss AS 4.2.3 with Messaging 1.4.5 consuming messages from a JBoss AS 5.1 with Messaging 1.4.6
gaohoward Mar 17, 2010 10:26 AM (in response to mzeijen)Each version of JBM uses a different version of its dependent jars. So if you are using mixed version together, there is no guarantee that they can work. It may work as you test shows, but I don't think it's safe to put to real application. You might hit some issues in the future as your application become more demanding on the messaging front. -
6. Re: Problems with a client on a JBoss AS 4.2.3 with Messaging 1.4.5 consuming messages from a JBoss AS 5.1 with Messaging 1.4.6
mzeijen Mar 17, 2010 10:35 AM (in response to mzeijen)Thanks for the info.
One more question. If I would install a full JBoss Messaging server on the JBoss AS 4.2.3 would I then be able to connect them via a Message Bridge? Probably not or am I wrong?
-
7. Re: Problems with a client on a JBoss AS 4.2.3 with Messaging 1.4.5 consuming messages from a JBoss AS 5.1 with Messaging 1.4.6
gaohoward Mar 17, 2010 11:10 AM (in response to mzeijen)Using bridge might be a good idea. I know bridge can be used to connect JBM with other JMS system. Usually the other JMS system provide a JCA adpater and the bridge can be configured using that JCA adapter to connect it. However using it to connect different version of JBM is new to me, you need to figure out how to treat the other JBM just like to treat another JMS system.