Skip to content

Stop overriding thread name prefix for externally configured Executor in ChannelRegistration #32132

Closed
@snicoll

Description

@snicoll

AbstractMessageBrokerConfiguration uses ChannelRegistration to setup the following:

  • clientInboundChannel with a thread name prefix of clientInboundChannel-
  • clientOutboundChannel with a thread name prefix of clientOutboundChannel-
  • brokerChannel with a thread name prefix of brokerChannel-

It does so even if the underlying Executor has been externally provided. This is problematic, especially with virtual threads as the same instance is probably shared by all three channels.

Metadata

Metadata

Assignees

Labels

in: messagingIssues in messaging modules (jms, messaging)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions