Spring Slueth Stops JMSListener Consuming Messages

Adding the following dependency causes JMS messages to stop being consumed.

<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-sleuth</artifactId>
    <version>2.1.0.RELEASE</version>
</dependency>

The issue is that Spring Sleuth prevents the JMSListener from being registered as per:
Jms listeners not running

To fix use version 2.1.1.RELEASE of spring-cloud-starter-sleuth:

<dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-starter-sleuth</artifactId>
    <version>2.1.1.RELEASE</version>
</dependency>
This entry was posted in Programming and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *