public abstract class AbstractBrokerRegistration extends Object
Constructor and Description |
---|
AbstractBrokerRegistration(SubscribableChannel clientInboundChannel,
MessageChannel clientOutboundChannel,
String[] destinationPrefixes)
Create a new broker registration.
|
Modifier and Type | Method and Description |
---|---|
protected SubscribableChannel |
getClientInboundChannel() |
protected MessageChannel |
getClientOutboundChannel() |
protected Collection<String> |
getDestinationPrefixes() |
protected abstract AbstractBrokerMessageHandler |
getMessageHandler(SubscribableChannel brokerChannel) |
public AbstractBrokerRegistration(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, @Nullable String[] destinationPrefixes)
clientInboundChannel
- the inbound channelclientOutboundChannel
- the outbound channeldestinationPrefixes
- the destination prefixesprotected SubscribableChannel getClientInboundChannel()
protected MessageChannel getClientOutboundChannel()
protected Collection<String> getDestinationPrefixes()
protected abstract AbstractBrokerMessageHandler getMessageHandler(SubscribableChannel brokerChannel)