Top Description Fields Constructors Methods
org.springframework.messaging.simp.config

public abstract Class AbstractBrokerRegistration

extends Object
Class Inheritance
Known Direct Subclasses
org.springframework.messaging.simp.config.SimpleBrokerRegistration, org.springframework.messaging.simp.config.StompBrokerRelayRegistration
Imports
java.util.Arrays, .Collection, .Collections, .List, org.springframework.lang.Nullable, org.springframework.messaging.MessageChannel, .SubscribableChannel, org.springframework.messaging.simp.broker.AbstractBrokerMessageHandler, org.springframework.util.Assert

Base class for message broker registration classes.
Author
Rossen Stoyanchev
Since
4.0

Field Summary

Modifier and TypeField and Description
private final SubscribableChannel
private final MessageChannel
private final List<String>

Constructor Summary

AccessConstructor and Description
public
AbstractBrokerRegistration(SubscribableChannel
the inbound channel
clientInboundChannel
,
MessageChannel
the outbound channel
clientOutboundChannel
,
String[]
the destination prefixes
destinationPrefixes
)

Create a new broker registration.

Method Summary

Modifier and TypeMethod and Description
protected SubscribableChannel
protected MessageChannel
protected Collection<String>
protected abstract AbstractBrokerMessageHandler
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

clientInboundChannelback to summary
private final SubscribableChannel clientInboundChannel
clientOutboundChannelback to summary
private final MessageChannel clientOutboundChannel
destinationPrefixesback to summary
private final List<String> destinationPrefixes

Constructor Detail

AbstractBrokerRegistrationback to summary
public AbstractBrokerRegistration(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, String[] destinationPrefixes)

Create a new broker registration.

Parameters
clientInboundChannel:SubscribableChannel

the inbound channel

clientOutboundChannel:MessageChannel

the outbound channel

destinationPrefixes:String[]

the destination prefixes

Method Detail

getClientInboundChannelback to summary
protected SubscribableChannel getClientInboundChannel()
getClientOutboundChannelback to summary
protected MessageChannel getClientOutboundChannel()
getDestinationPrefixesback to summary
protected Collection<String> getDestinationPrefixes()
getMessageHandlerback to summary
protected abstract AbstractBrokerMessageHandler getMessageHandler(SubscribableChannel brokerChannel)