Re: How to see

2021-02-08 Thread Justin Bertram
I agree with Erwin. It seems like you'd be better served using the synchronous org.apache.activemq.artemis.api.core.client.ClientConsumer#receive(long) [1] rather than using an asynchronous MessageHandler. If the call to receive(long) returns null then you know the consumer did not receive a messag

RE: How to see

2021-02-08 Thread Dondorp, Erwin
Arno, It is a message-queue, the work may never be done as it is always possible that new work is added later. But otherwise, you would need to use a timeout while reading the message. e.g. if no new message arrives within 5 seconds, then assume the work is done. Instead of using "setMessageHand