Skip to content

With new JMS Observability integration, JmsDefaultListenerContainerSpec could support a builder setter for new ObservationRegistry attribute #8734

Closed
@nightswimmings

Description

@nightswimmings

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions