Yes, I got similar results in my consumer testing. What version of AMQ are you using?
Your only recourse may be to multi thread your consumer and have it create a connection to each of the brokers. Joe Stepan Koltsov wrote: > > I could not make make fanout transport work for consuming. I configured > transport as: > > fanout:(static:(tcp://localhost:12346,tcp://localhost:12345)) > > and messages were consumed only from one broker, and there were a lot of > errors in log. > > S. > > > ttmdev wrote: >> >> There is the composite 'fanout' transport, which allows you to replicate >> a command across multiple brokers. However, when I last tested fanout, it >> worked well for producing, but not so well for consuming. >> >> http://activemq.apache.org/fanout-transport-reference.html >> >> There has also been some talk of a composite 'jedi' transport that would >> allow your consumer to fanout receives across multiple brokers, but I >> don't believe this has been implemented. >> >> Joe >> www.ttmsolutions.com >> >> >> Stepan Koltsov wrote: >>> >>> Hi, >>> >>> please, help. >>> >>> Is it possible to connect single consumer to several brokers? >>> >>> There are several hosts with producers, each host has own broker. >>> >>> There are several hosts with consumers. Each consumer should consume >>> messages from all producers. >>> >>> How is it possible to configure ActiveMQ for such configuration? I don't >>> want to create one more broker that collects messages from all brokers. >>> >>> I haven't found transport like >>> "collect:(tcp://host1:12345,tcp://host2:12345)". >>> >> >> > > -- View this message in context: http://www.nabble.com/Single-consumer-for-multiple-brokers--tp15768836s2354p15769003.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.