geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Boyes" <>
Subject RE: ActiveMQ: Network of Brokers
Date Wed, 26 Sep 2007 19:45:22 GMT
Thanks.  I greatly appreciate it.  I am going to give it a go as well as
maybe just having an instance of ActiveMQ running outside of Geronimo.




From: David Jencks [] 
Sent: Wednesday, September 26, 2007 12:10 PM
Subject: Re: ActiveMQ: Network of Brokers



On Sep 26, 2007, at 11:45 AM, Paul Boyes wrote:

Thank you.  I appreciate it.  I found the following:


Looks pretty straight forward, but a build is in order.  Does that sound
right to you?


that's it! although it may be rather out of date for g. 2.x.


What I would recommend doing is turning off the provided activemq-broker
and activemq-ra modules and deploying your own with appropriate
configuration, in particular with dependencies on all the jars you need
to make amq work this way.  In trunk you can do this pretty easily as a
plugin but earlier you can just deploy the plans into the running server
using the console or command line deployer.


If there are hidden dependencies on the activemq-broker module (I
suspect some from openejb in geronimo 2.x) you may need to include a
line like




in your var/config/  


I haven't actually tried this particular maneuver so there may be
complications.  Feel free to ask for help :-)


You can also change the plan in the server source code and rebuild but
obviously that is somewhat harder to maintain.



david jencks





	From: David Jencks [] 
	Sent: Wednesday, September 26, 2007 7:08 AM
	Subject: Re: ActiveMQ: Network of Brokers


	I can only point you in a direction to look....


	I think you need to configure the activemq broker running in
geronimo using the spring (or xbean-spring) configuration rather than
through gbean configuration: then you can use the sample xml the amq
docs show.  IIRC there is a flag on one of the AMQ gbeans that tells it
where the spring xml file is.


	IIRC someone has succeeded in doing this and posted some info on
the dev list in the fairly distant past.  There might be some wiki docs
but I don't think so.  If you get this working and could contribute some
notes on a wiki page that would be great, especially if you are using g.



	david jencks


	On Sep 25, 2007, at 10:56 PM, Paul Boyes wrote:




	I am new to Geronimo and ActiveMQ and have been researching and
playing with both.  With ActiveMQ, I really like the idea of a network
of brokers.  And, of course, I like Geronimo as it provides MDB,
connection management, etc... as well as all the other app server stuff.
So, I have been trying to figure out how to set up a network of brokers
with Geronimo, but have not been able to figure out how to do it in both


	Using the following configuration, I have run a stand alone
ActiveMQ instance and been able to send messages through it to the
Geronimo server but not the other way around (from the Geronimo server).



	      <!-- by default just auto discover the other brokers -->

	      <!--<networkConnector name="default-nc"

	      <networkConnector name="host1"
uri="static://(tcp://somehost:61616)" failover="true"/>



	I am looking for a way to have the ActiveMQ instance running
within Geronimo to listen to other servers as well as described here
<> ).  Am I going
about this correctly?  Is this something that can be easily done, meant
to be done?  Any info would be appreciated.









View raw message