Add WebSocket transport configuration support
Issue: SPR-11527
This commit is contained in:
@@ -47,8 +47,6 @@ public class MessageBrokerRegistry {
|
||||
|
||||
private ChannelRegistration brokerChannelRegistration = new ChannelRegistration();
|
||||
|
||||
private Integer messageBufferSizeLimit;
|
||||
|
||||
|
||||
public MessageBrokerRegistry(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel) {
|
||||
Assert.notNull(clientInboundChannel);
|
||||
@@ -121,23 +119,6 @@ public class MessageBrokerRegistry {
|
||||
return this.brokerChannelRegistration;
|
||||
}
|
||||
|
||||
/**
|
||||
* Configure the message buffer size limit in bytes.
|
||||
* @since 4.0.3
|
||||
*/
|
||||
public MessageBrokerRegistry setMessageBufferSizeLimit(Integer messageBufferSizeLimit) {
|
||||
this.messageBufferSizeLimit = messageBufferSizeLimit;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the message buffer size limit in bytes.
|
||||
* @since 4.0.3
|
||||
*/
|
||||
public Integer getMessageBufferSizeLimit() {
|
||||
return this.messageBufferSizeLimit;
|
||||
}
|
||||
|
||||
protected SimpleBrokerMessageHandler getSimpleBroker(SubscribableChannel brokerChannel) {
|
||||
if ((this.simpleBrokerRegistration == null) && (this.brokerRelayRegistration == null)) {
|
||||
enableSimpleBroker();
|
||||
|
||||
Reference in New Issue
Block a user