Skip to content

Adding a ChannelInterceptor suppresses default executor settings in the XML namespace [SPR-11623] #16246

@spring-projects-issues

Description

@spring-projects-issues

Rossen Stoyanchev opened SPR-11623 and commented

Adding the following turns off the default executor settings:

<websocket:client-outbound-channel>
    <websocket:interceptors>
        <ref bean="messageChannelInterceptor"/>
    </websocket:interceptors>
</websocket:client-outbound-channel>

However the default should be turned off only when there is an executor sub-element:

<websocket:client-outbound-channel>
    <websocket:executor core-pool-size="101" max-pool-size="201" keep-alive-seconds="601"/>
    <websocket:interceptors>
        <ref bean="myInterceptor"/>
    </websocket:interceptors>
</websocket:client-outbound-channel>

Affects: 4.0.3

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions