Class AbstractBrokerRegistration
java.lang.Object
org.springframework.messaging.simp.config.AbstractBrokerRegistration
- Direct Known Subclasses:
SimpleBrokerRegistration
,StompBrokerRelayRegistration
Base class for message broker registration classes.
- Since:
- 4.0
- Author:
- Rossen Stoyanchev
-
Constructor Summary
ConstructorDescriptionAbstractBrokerRegistration
(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, String[] destinationPrefixes) Create a new broker registration. -
Method Summary
Modifier and TypeMethodDescriptionprotected SubscribableChannel
protected MessageChannel
protected Collection<String>
protected abstract AbstractBrokerMessageHandler
getMessageHandler
(SubscribableChannel brokerChannel)
-
Constructor Details
-
AbstractBrokerRegistration
public AbstractBrokerRegistration(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, @Nullable String[] destinationPrefixes) Create a new broker registration.- Parameters:
clientInboundChannel
- the inbound channelclientOutboundChannel
- the outbound channeldestinationPrefixes
- the destination prefixes
-
-
Method Details
-
getClientInboundChannel
-
getClientOutboundChannel
-
getDestinationPrefixes
-
getMessageHandler
protected abstract AbstractBrokerMessageHandler getMessageHandler(SubscribableChannel brokerChannel)
-