Background:
I can read messages from a Dead Letter Queue of a subscription. I gather them in a List
and set receiver.complete(message.getLockToken())
, which removes the message from DLQ.
And later on, I iterate through this list of gathered messages from DLQ and send them back to topic. At the time of putting them into a List
, I do make sure that I create a new object of Message (or BrokeredMessage) before putting it in.
This is all well and good for my own personal account. I see numbers go up. I can also read them fine in another method.
Problem:
I don't know where the messages are ending up when I connect to my company's Topic? They don't go to any subscription. And I don't see any number going up (active count, dead letter count, etc).
Question:
Could this be because no rule is able to process those messages, so they are auto purged? Is this a possibility?