GH-1387: Make PartitioningInterceptor as public

Fixes spring-cloud/spring-cloud-stream#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**
This commit is contained in:
Artem Bilan
2018-06-08 13:51:03 -04:00
parent f1dbea98dc
commit 8f5b63ef84

View File

@@ -357,7 +357,7 @@ public class MessageConverterConfigurer implements MessageChannelAndSourceConfig
/**
*
*/
protected final class PartitioningInterceptor extends ChannelInterceptorAdapter {
public final class PartitioningInterceptor extends ChannelInterceptorAdapter {
private final BindingProperties bindingProperties;