Closed
Description
Spring Boot is adding Observability and Traceability to JMS on the new micrometer-tracing layer.
So as soon as this is available in 3.2.0, we will miss a way to pass it in the JmsDefaultListenerContainerSpec builder when creating it like:
Jms.container(jmsContainerFactory, topicDestination)
.pubSubDomain(isTopic)
.sessionAcknowledgeMode(Session.SESSION_TRANSACTED)
.sessionTransacted(true)
.cacheLevel(DefaultMessageListenerContainer.CACHE_AUTO)
.taskExecutor(Executors.newCachedThreadPool())
**.observarionRegistry(...)**
.getObject()
See reference ticket: spring-projects/spring-framework#30335 (comment)