Class AbstractBrokerRegistration
- java.lang.Object
- org.springframework.messaging.simp.config.AbstractBrokerRegistration
- Direct Known Subclasses:
SimpleBrokerRegistration
,StompBrokerRelayRegistration
public abstract class AbstractBrokerRegistration extends Object
Base class for message broker registration classes.- Since:
- 4.0
- Author:
- Rossen Stoyanchev
Constructor Summary
Constructors Constructor Description AbstractBrokerRegistration(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, String[] destinationPrefixes)
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected SubscribableChannel
getClientInboundChannel()
protected MessageChannel
getClientOutboundChannel()
protected Collection<String>
getDestinationPrefixes()
protected abstract AbstractBrokerMessageHandler
getMessageHandler(SubscribableChannel brokerChannel)
Constructor Detail
AbstractBrokerRegistration
public AbstractBrokerRegistration(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, String[] destinationPrefixes)
Method Detail
getClientInboundChannel
protected SubscribableChannel getClientInboundChannel()
getClientOutboundChannel
protected MessageChannel getClientOutboundChannel()
getDestinationPrefixes
protected Collection<String> getDestinationPrefixes()
getMessageHandler
protected abstract AbstractBrokerMessageHandler getMessageHandler(SubscribableChannel brokerChannel)