-
1. Re: bridge and discovery-group in "hornetq-queues.xml" file
jmesnil Sep 2, 2010 9:07 AM (in response to yannalbou)Yann Albou wrote:
Did I miss something or we can only configured queues and address-setting in "hornetq-queues.xml" file ?
You are right.
You can see it this way:
- hornetq-configuration.xml corresponds to the configuration of a server.
- hornetq-queues.xml can configure queues and address settings deployed on many servers.
It makes sense to be able to deploy the same queues on different server.
But a bridge (and a discovery-group) is specific to a server (only it knows what other server it must connect to).
Hope that clarifies a bit the configuration,
jeff
-
2. Re: bridge and discovery-group in "hornetq-queues.xml" file
yannalbou Sep 2, 2010 9:32 AM (in response to jmesnil)thanks.
I understand but if I define the bridge or discovery-group in hornetq-configuration.xml then I have to define queues in that file too otherwise I get exceptions because the queue defined by the bridge is not found.
So that means I cannot use anymore the "hornetq-queues.xml" for that kind of configuration.
I found very practical to have one file for all the common configuration (hornetq-configuration.xml), and another file (hornetq-queues.xml) for the specific configuration...
Does it make sense for you ?
Yann
-
3. Re: bridge and discovery-group in "hornetq-queues.xml" file
yannalbou Sep 2, 2010 9:35 AM (in response to yannalbou)I forgot to add that in my configuration I am in a cluster and the bridge and the discovery-group is the same for each node of my cluster so it is why I wanted to put it in "hornetq-queues.xml"
Yann