Closed heatzync closed 4 months ago
It's been a month since I opened this feature request and I haven't received any response. Did I at least post it on the correct project?
Hi @heatzync, thank you for reaching out to us via this GitHub issue -- and thank you @EldertGrootenboer for transferring the issue to the correct repo. @yiliuTo could you please follow up with @heatzync?
Hi @heatzync , sorry for the late response. And for your feature request
Would it be possible for Azure ServiceBus to not rely on the
JMSMessageID
orMessageId
(as it is referred to in the Azure SDK), but instead expect an alternative (additional) property ID to be populated, say for exampleDuplicatePreventingId
?
This should be a feature request for the Azure Service Bus serive side, just as what you mentioned, to set the JMS message ID is not recommanded and even regarded as illegal in JMS specs. Thus what I can do is to contact to the service team to ask for your feature request. Therefore, could you help to share your email address then I can add you into the mail list for further communication?
Hi @yiliuTo. Thank you for your response.
How do I send you a DM with my e-mail address? Seems like GitHub has removed that feature...
Hi @heatzync , then would you like to email our team with your request? Our team email is spring-int-sh-team@microsoft.com
Thanks @yiliuTo. I've sent an e-mail to spring-int-sh-team@microsoft.com
Hi @heatzync now that we have contacted the ASB service team for this feature request, thus is this issue ok to be closed?
Hi @yiliuTo. That's an option provided I have some way of keeping track of the progress of the feature request logged with the ASB service team. How can I keep track of the progress?
Hi @heatzync , in the mail the service team has mentioned that they will create a tracking item, you may ask them whether that item can be public and shared to you. And if not, how about asking them whether there is some other way to track that request? And of course you can keep this GitHub issue open if there is no better alternative to track.
Thanks @yiliuTo. @EldertGrootenboer has agreed to update this GitHub issue once they have done their investigation. I will therefore keep it open at least until the feedback has been added.
Thank you for your feedback on this item so far. We are currently actively investigating the possibilities around this feature, however we currently don't have an ETA on when development will start on this. We encourage everyone to share the scenarios where they would like to use this feature, to help us shape it in the best way.
Hi @heatzync, we deeply appreciate your input into this project. Regrettably, this issue has remained unresolved for over 2 years and inactive for 30 days, leading us to the decision to close it. We've implemented this policy to maintain the relevance of our issue queue and facilitate easier navigation for new contributors. If you still believe this topic requires attention, please feel free to create a new issue, referencing this one. Thank you for your understanding and ongoing support.
Description
This is more a feature request than a bug report.
Our project has been implemented based on this article: https://docs.microsoft.com/en-us/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-azure-service-bus
Messages are sent and received and is working as expected.
We however have the additional requirement now to detect and discard duplicate messages which I believe is supported by Azure ServiceBus. Based on some articles on stack overflow, we have tried setting various message IDs using a
org.springframework.jms.core.MessagePostProcessor
, e.g.:Actual Behavior
JMSMessageID
,JMSCorrelationID
andMessageId
org.apache.qpid.jms.JmsSession
class inqpid-jms-client
overrides theJMSMessageID
as part of the sending process (after the post processor was called)...
// Set the message ID outbound.getFacade().setProviderMessageIdObject(messageId);
jmsTemplate.convertAndSend(theQueue, someEvent, message -> { String duplicatePreventingId = generateDuplicatePreventingId(someEvent); message.setStringProperty("DuplicatePreventingId", duplicatePreventingId); return message; });