JMS listener not listening after upgrading java 8 to java 17 and azure-messaging-service bus 7.17.4

Hello, Need help fix the issue.

JMS listener is stopped listening after changing the version of spring-cloud-azure-starter-servicebus-jms. from 4.5.0 to 5.17.1.

as the process of troubleshooting upgraded azure-messaging-servicebus from 7.7.0 to 7.17.4 and java 8 to java 17.

but still unable to pick the message from the listener. stuck this issue.
any guidance or help will be helpful.

Hi @VidyaHegde
Could you please provide more details on how this issue is connected to Camunda or your specific Camunda deployment?

Regards,
Alex

Hi Alex,

thanks for reply we have using Following code to connect azure topic

@JmsListener(destination = “${xsc.servicebus.listener.topic}”, containerFactory = “topicJmsListenerContainerFactory”,
subscription = “${xsc.servicebus.listener.topic.subscription}”)
public void receiveMessage(String message) throws JsonProcessingException {
log.info(“Received message: {}”, message);

above code is working fine with java 8,

com.azure.spring
spring-cloud-azure-starter-servicebus-jms
4.5.0


com.azure
azure-messaging-servicebus
7.7.0

but when migrated to java 17 and
com.azure.spring
spring-cloud-azure-starter-servicebus-jms
5.17.1

com.azure
azure-messaging-servicebus
7.17.4

listener stopped working unable to pick the message from topic.

Hi @VidyaHegde
Thank you for the additional details. Could you please explain how, in your opinion, this problem relates to the Camunda platform?

Thanks,
Alex

Hi,

It not directly linked to Camunda platform issue, but any one already worked or faced this issue may be able to guide or could help on it.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.