-
1. Re: HornetQ Standalone with JBoss A/S and JBoss ESB
clebert.suconic Oct 4, 2010 3:29 PM (in response to paulman)I'm not sure about the ESB...
for the AS, since it's standalone.. you probably just need to configure Connection Factories and JCA (case you're using MDBs). look at our remote examples and docs for that.
For the ESB.. I'm not really sure. better asking on their forums.
-
2. Re: HornetQ Standalone with JBoss A/S and JBoss ESB
timfox Oct 5, 2010 4:31 AM (in response to paulman)The ESB docs describe in detail how to set up ESB to talk to an external JMS provider.
-
3. Re: HornetQ Standalone with JBoss A/S and JBoss ESB
paulman Oct 5, 2010 5:51 AM (in response to paulman)The most fundamental issue though is, since HornetQ is based on JBoss messaging, the ports are shared so JBoss messaging needs to be disabled in both the esb and the A/S.
-
4. Re: HornetQ Standalone with JBoss A/S and JBoss ESB
timfox Oct 5, 2010 5:54 AM (in response to paulman)Paul Curran wrote:
The most fundamental issue though is, since HornetQ is based on JBoss messaging, the ports are shared so JBoss messaging needs to be disabled in both the esb and the A/S.
Not sure what you mean by that.
-
5. Re: HornetQ Standalone with JBoss A/S and JBoss ESB
paulman Oct 5, 2010 6:00 AM (in response to timfox)After starting up HornetQ standalone both the esb and A/S (on the same machine) complain that port 1099 is already open because they are trying to use their embedded jboss messaging on the same port. I'm basically looking to get both configured to use the external HornetQ instead of their embedded messaging.
-
6. Re: HornetQ Standalone with JBoss A/S and JBoss ESB
timfox Oct 5, 2010 6:06 AM (in response to paulman)Paul Curran wrote:
After starting up HornetQ standalone both the esb and A/S (on the same machine) complain that port 1099 is already open because they are trying to use their embedded jboss messaging on the same port. I'm basically looking to get both configured to use the external HornetQ instead of their embedded messaging.
What you're saying is that you are trying to run JBoss Messaging and HornetQ on the same machine, and by default their JNDI servers are configured to use the same port numbers.
Yes, that is true, but you can simply change the port numbers in the config.
(Note that it's not HornetQ nor JBoss Messaging using this port, it's the JNDI server)
-
7. Re: HornetQ Standalone with JBoss A/S and JBoss ESB
paulman Oct 5, 2010 6:22 AM (in response to timfox)Thanks Tim, you're confirming my thoughts that I should simply run HornetQ on a different port and use remote JMS connector for the ESB and configure the JNDI to point to that. From this page: http://community.jboss.org/wiki/ConfigJMSProvider it would appear I only need to set
java.naming.provider.url=localhost:<hornetQport>
But I'm unsure about this so I'm trying to look find examples of configuring jboss with other external messaging servers.
-
8. Re: HornetQ Standalone with JBoss A/S and JBoss ESB
timfox Oct 5, 2010 7:14 AM (in response to paulman)Paul Curran wrote:
Thanks Tim, you're confirming my thoughts that I should simply run HornetQ on a different port and use remote JMS connector for the ESB and configure the JNDI to point to that. From this page: http://community.jboss.org/wiki/ConfigJMSProvider it would appear I only need to set
java.naming.provider.url=localhost:<hornetQport>
But I'm unsure about this so I'm trying to look find examples of configuring jboss with other external messaging servers.
If you want the JNDI server that ships with the standalone HornetQ server to listen on different ports, you change them here:
Regarding how to get ESB to talk to that remote JMS instance, that's all covered in the ESB docs.
-
9. Re: HornetQ Standalone with JBoss A/S and JBoss ESB
noelo Oct 6, 2010 12:07 AM (in response to paulman)I've had to do this recently. Take a look at http://community.jboss.org/message/556013#556013