Skip to content

Access to the cachedSessions in CachingConnectionFactory #26811

Closed
@sanorcdel

Description

@sanorcdel

Hello, it seems the org.springframework.jms.connection.CachingConnectionFactory class uses the cachedSessions property to manage the sessions in the connection factory.

This is a private property and it has not any getter method to obtain the value. In order to instrument CachingConnectionFactory it could be useful to access this property or, at least, its size. Could a public method be added in the CachingConnectionFactory class to return the cachedSessions value (or its size)?

Thanks for your time!

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions