I raise this discussion because I still have not figured out how to do.
I have a machine that hosts an instance of ActiveMQ. this broker is oppérationnel and supervised.
I have on the an other machine that host ServiceMix (FuseESB)
1) In the doc I found on how to install sevicemix a broker. that is not what I want to do.
2) I found how to configure an instance with a SMX broker to operate in cluster. that is not what I want to do.
3) I found how to write camel routes using a broker external
but I have not found how to configure ServiceMix for all my camel routes use the same broker.
I found information on this possibility in the doc of ServiceMix 3 but it is no longer in ServiceMix 4. file property change no longer exists.
it means he explicitly that I have to redefine all my roads to use a broker that sets in each of her?
Thank you for your help.
A + JYT
PS: sorry for my approximate english
For FUSE ESB/Servicemix 4.x, you need edit etc/activemq-broker.xml.
If you already have started external broker on another machine, remove
I will test this solution.
thank you for your help.
Après de nombreux essais, ça ne marche pas.
I changed the values ​​as you said.
but the default broker is always a instance of activemq embedded in OSGI.
I see the messages of this file is accumulated and nothing on my remote broker.
I thought I had recovered the service pooledConnectionFactory defined in the xml file from my routebuilder to tell Camel to use it to establish the connection jms.
but is not found on the lookup camel register
and a lookup on InitialContext either.
for long it seems to be well configured since I have seen appear on my remote broker queue for nmr.
so I have still no solution to use to indicate fuseesb it should use for all roads remote JMS broker.
Apart from creating an explicit connection in each bundle I do not see how.
this is a big problem because it means that the platform will not fuse to meet specifications.
A + JYT
Ensure you have removed FUSE_ESB/data folder after you change FUSE_ESB/etc/activemq-broker, which can pick up your changes.