HI Team, We are using ServiceBus Broker, and using qpid-jms-client-0.45.0 to publish message. ServiceBus provides facility to 'ignore duplicate messages' with the help of MessageID.
For achieving this requirement - We need to set JMS message ID while publishing the message. At this moment, i have not found any way to set custom messageID via qpid JMS client. I tried with below options but that doesn't help. JmsMessageProducer messageProducer = (JmsMessageProducer) session.createProducer(destination); messageProducer.setDisableMessageID(true); TextMessage textMessage = session.createTextMessage("Hello World"); ((AmqpJmsMessageFacade) ((JmsMessage) textMessage).getFacade()).setMessageId("AKQWS:9d678sdfsdsds"); I did testing with Microsoft JAVA SDK (com.microsoft.azure:azure-servicebus:1.2.11), and i am able to achieve this requirement via setting MessageID. Could you please provide any way to set MessageID. Regards, Abhishek Kumar -- Sent from: http://qpid.2158936.n2.nabble.com/Apache-Qpid-users-f2158936.html --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org