use of org.springframework.messaging.support.ImmutableMessageChannelInterceptor in project spring-framework by spring-projects.
the class AbstractMessageBrokerConfiguration method getClientInboundChannelRegistration.
protected final ChannelRegistration getClientInboundChannelRegistration() {
if (this.clientInboundChannelRegistration == null) {
ChannelRegistration registration = new ChannelRegistration();
configureClientInboundChannel(registration);
registration.setInterceptors(new ImmutableMessageChannelInterceptor());
this.clientInboundChannelRegistration = registration;
}
return this.clientInboundChannelRegistration;
}
Aggregations