Skip to content

Commit 2f3a56e

Browse files
committed
GH-1387: Make PartitioningInterceptor as public
Fixes #1387 To be able to distinguish the `PartitioningInterceptor` in the `MessageChannel` and remove it from the interceptor it would be better to have its class as `public` In some use-case like AWS Kinesis Binder it is important do not have an SCSt partitioning logic, since the whole functionality is done on the target system. **Cherry-pick to 2.0.x** (cherry picked from commit 8f5b63e)
1 parent db8ecc2 commit 2f3a56e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-cloud-stream/src/main/java/org/springframework/cloud/stream/binding/MessageConverterConfigurer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ public Message<?> preSend(Message<?> message, MessageChannel channel) {
357357
/**
358358
*
359359
*/
360-
protected final class PartitioningInterceptor extends ChannelInterceptorAdapter {
360+
public final class PartitioningInterceptor extends ChannelInterceptorAdapter {
361361

362362
private final BindingProperties bindingProperties;
363363

0 commit comments

Comments
 (0)