I've always believed that they had to be in the local broker, though I've never used them so I don't have firsthand confirmation of that. But sending directly to an external broker without storing the message in a local destination would be a significant departure from the store-and-forward model that ActiveMQ 5.x uses, so it seems unlikely that it works that way.
Of course, you can set up the composite destination to write to a local destination and then use a networkConnector to forward the message to the other broker, so you can get the end result you're looking for, at the cost of a little disk I/O. Tim On Jul 25, 2017 7:49 AM, "mansi" <mansitiwar...@gmail.com> wrote: > Do composite queues allow to forwardTo to another ActiveMQ broker > instances? > Or it just allow to forwardTo queues in the same Broker instance. > > > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/ActiveMq-composite-queues-tp4728865.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >