Re: How to detected the last message of a batch of message ?

2020-03-27 Thread Jean-Baptiste Onofre
Hi Jérôme, Please let me know if you need help about that. Regards JB > Le 27 mars 2020 à 14:10, Jérôme Barotin a écrit : > > Hi Jean Baptiste, > > > Did you take a look on message groups ? > > Of course, if I have just set a group specific for the batch and then set a > property for exampl

Re: How to detected the last message of a batch of message ?

2020-03-27 Thread Jérôme Barotin
Hi Jean Baptiste, > Did you take a look on message groups ? Of course, if I have just set a group specific for the batch and then set a property for example called last_message ="yes" to the last message of the batch (last_message = "no" for other message). And, in my consumer, if I check the

Re: How to detected the last message of a batch of message ?

2020-03-27 Thread Jean-Baptiste Onofre
Anyway, not sure it should be on the broker scope. In Apache Camel, that’s exactly the purpose of aggregator strategy. Maybe you can implement something similar as well (if you don’t use Camel) ? Regards JB > Le 27 mars 2020 à 11:16, Jérôme Barotin a écrit : > > Hi, > > I've got the followi

Re: How to detected the last message of a batch of message ?

2020-03-27 Thread Jean-Baptiste Onofre
Hi Jérôme, Did you take a look on message groups ? Regards JB > Le 27 mars 2020 à 11:16, Jérôme Barotin a écrit : > > Hi, > > I've got the following installation : > > * 2 ActiveMQ brokers installed in a Network of Broker with KahaDb > persistence actived > * I consume these message though

How to detected the last message of a batch of message ?

2020-03-27 Thread Jérôme Barotin
Hi, I've got the following installation : * 2 ActiveMQ brokers installed in a Network of Broker with KahaDb persistence actived * I consume these message thought the Spring's DefaultMessageListenerContainer & the ActiveMQ's PooledConnectionFactory I produce a batch of message every nigh