Open Andrexams opened 7 months ago
had the same or a similar issue - we fixed it by setting "partitioning" to false and enabled "dead lettering on message expiration" for all queues
had the same or a similar issue - we fixed it by setting "partitioning" to false and enabled "dead lettering on message expiration" for all queues
Hello @neffsvg,
Thanks for the answer but we are using the same configuration here.
Hi @Andrexams , thanks for reaching out. We have received your submission and will take it into consideration. We appreciate your input and will review this matter as soon as possible. Please feel free to provide any additional information or context that you think may be helpful. We'll keep you updated on the progress of our review. Thank you for your contribution to improving our project.
Hi @Andrexams , ServiceBus server side has a fix recently for premium tier.
So if you still meet this error in premium tier, please add environment property PN_TRACE_FRM=1
and provide the log info here, thanks.
Query/Question Dear,
Our application needs to send many(10k+) messages to a queue, we implement an outbox pattern, several records are updated to the pending state and a job reads these records and sends them to a queue. For performance, we split these records into a batch packet of 25 messages, send to the queue using the jmsTemplate(transacted) producer callback, for every batch a commit or rollback session is called. We are facing a problem, some messages were lost and we received warning messages saying “The session is closed”. This warning appears for the producer thread but appears for random @JmsListeners consumers too. Due to warning message and not a exception we update registers like ok in database but acctualy some messages are lost.
We are unable to reproduce locally and this issue occurs intermittently in our environment. We have 24 @JMSlistener consumers and 2 jobs for sending messages.
We think its related to https://github.com/Azure/azure-sdk-for-java/issues/37042.
Could you help us please?
Producer stack:
@JmsListener stack
Pool configuration:
JmsTemplate producer:
Setup (please complete the following information if applicable):
Service Bus Tier: Standard
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report