DR: Queue backup / replay architecture (Artemis)

2019-07-05 Thread warm-sun
Scenario: You have simple/normal: request/response queues for clients. For DR (Disaster Recovery) purposes it is required to backup each queue's messages for 1 month. (And this is required to be done on the broker itself in backup-request/backup-response queues.) This way if clients lose their me

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
A unit test would be best that way it can be reproduced. And any solution can be verified as fixing the problem. Get Outlook for Android On Fri, Jul 5, 2019 at 4:02 PM +0100, "mschmeiser" wrote: I appreciate the discussion but this seems to have gotten off-topic from my orig

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
A test case that recreates the issue is best next steps Get Outlook for Android On Fri, Jul 5, 2019 at 4:02 PM +0100, "mschmeiser" wrote: I appreciate the discussion but this seems to have gotten off-topic from my original issue. The issue of durability and server restarts is

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread mschmeiser
I appreciate the discussion but this seems to have gotten off-topic from my original issue. The issue of durability and server restarts is secondary to the issue that the replacement of a non-destructively consumed LVQ message results in an error being thrown. What are the next steps I should take

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
So next step is to make a unit test and jira so that it can be investigated Get Outlook for Android On Fri, Jul 5, 2019 at 1:37 PM +0100, "yw yw" wrote: No, the message is not lost after restart. 于2019年7月5日周五 下午7:54写道: > As asked previous, does the same occur if you have no

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread yw yw
No, the message is not lost after restart. 于2019年7月5日周五 下午7:54写道: > As asked previous, does the same occur if you have non destructive false, > the consumer receives the message but not acks it and restart is the > message lost there too? > > > > > Get Outlook for Android > > > > > > > > On Fri,

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
As asked previous, does the same occur if you have non destructive false, the consumer receives the message but not acks it and restart is the message lost there too? Get Outlook for Android On Fri, Jul 5, 2019 at 9:02 AM +0100, "yw yw" wrote: Sorry for the ambiguousness. I

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread yw yw
Sorry for the ambiguousness. I created a durable lvq where non destructive is *true*, the consumer received the message and acked it. After broker restarted, the message was lost. 于2019年7月5日周五 下午3:28写道: > Have you done the same test with lvq and non destructive false (default) > where the con

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
Have you done the same test with lvq and non destructive false (default) where the consumer receives the message but doesnt ack it. Then restart broker. If the message is lost there it would suggest issue in lvq or persistence. Remember you need to set the queue to durable if you want it

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
Note non destructive, is regardless of the queue being lvq or normal. Though primary case (but not only) for it is in conjunction with lvq. Get Outlook for Android On Fri, Jul 5, 2019 at 8:03 AM +0100, wrote: When non destructive is true the consumer ack ignored. Whe

Re: AMQ 224038 on Last Value Queue

2019-07-05 Thread michael . andre . pearce
When non destructive is true the consumer ack ignored. When non destructive is false (default) the consumer ack is honoured. There is test cases for this and is used in real use cases. Get Outlook for Android On Fri, Jul 5, 2019 at 7:30 AM +0100, "yw yw" wrote: Hi, Jus