It looks like your question on Stack Overflow has been answered.
Justin On Tue, Jul 2, 2019 at 4:12 PM mschmeiser <mschmei...@sasktel.net> wrote: > I've already posted this question to Stack Overflow here: > > https://stackoverflow.com/questions/56858870/retroactive-consumers-in-activemq-jms-api > > Essentially I seem unable to get a retroactive consumer working. The > documentation is very lacking in any detail on how to actually set it up. I > create a topic with "topicName?consumer.retroactive=true" but it doesn't > seem to have any effect. > > I need late-joiners to be able to receive topics that were published before > the subscription was made. It sounds like retroactive consumers can do > that; > however, if no subscriptions are registered before a publisher starts > sending messages it seems that the messages are ignored and the 'unrouted > messages' counter increments immediately. > > I've spent about a day looking for workable examples but none of the ones I > found at > > https://github.com/apache/activemq/tree/master/activemq-unit-tests/src/test/java/org/apache/activemq/test/retroactive > seemed to set the retroactive consumer the way the documentation did (ie. > with '?consumer.retroactive=true'). > > Thank you for your time. > > > > -- > Sent from: > http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html >