/** * Create a SimpleBrokerMessageHandler instance with the given message channels * and destination prefixes. * @param clientInboundChannel the channel for receiving messages from clients (e.g. WebSocket clients) * @param clientOutboundChannel the channel for sending messages to clients (e.g. WebSocket clients) * @param brokerChannel the channel for the application to send messages to the broker * @param destinationPrefixes prefixes to use to filter out messages */ public SimpleBrokerMessageHandler(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, SubscribableChannel brokerChannel, Collection<String> destinationPrefixes) { super(clientInboundChannel, clientOutboundChannel, brokerChannel, destinationPrefixes); this.subscriptionRegistry = new DefaultSubscriptionRegistry(); }
/** * Create a SimpleBrokerMessageHandler instance with the given message channels * and destination prefixes. * @param clientInboundChannel the channel for receiving messages from clients (e.g. WebSocket clients) * @param clientOutboundChannel the channel for sending messages to clients (e.g. WebSocket clients) * @param brokerChannel the channel for the application to send messages to the broker * @param destinationPrefixes prefixes to use to filter out messages */ public SimpleBrokerMessageHandler(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, SubscribableChannel brokerChannel, Collection<String> destinationPrefixes) { super(clientInboundChannel, clientOutboundChannel, brokerChannel, destinationPrefixes); this.subscriptionRegistry = new DefaultSubscriptionRegistry(); }
/** * Create a SimpleBrokerMessageHandler instance with the given message channels * and destination prefixes. * @param clientInboundChannel the channel for receiving messages from clients (e.g. WebSocket clients) * @param clientOutboundChannel the channel for sending messages to clients (e.g. WebSocket clients) * @param brokerChannel the channel for the application to send messages to the broker * @param destinationPrefixes prefixes to use to filter out messages */ public SimpleBrokerMessageHandler(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, SubscribableChannel brokerChannel, Collection<String> destinationPrefixes) { super(clientInboundChannel, clientOutboundChannel, brokerChannel, destinationPrefixes); this.subscriptionRegistry = new DefaultSubscriptionRegistry(); }
/** * Create a SimpleBrokerMessageHandler instance with the given message channels * and destination prefixes. * @param clientInboundChannel the channel for receiving messages from clients (e.g. WebSocket clients) * @param clientOutboundChannel the channel for sending messages to clients (e.g. WebSocket clients) * @param brokerChannel the channel for the application to send messages to the broker * @param destinationPrefixes prefixes to use to filter out messages */ public SimpleBrokerMessageHandler(SubscribableChannel clientInboundChannel, MessageChannel clientOutboundChannel, SubscribableChannel brokerChannel, Collection<String> destinationPrefixes) { super(clientInboundChannel, clientOutboundChannel, brokerChannel, destinationPrefixes); this.subscriptionRegistry = new DefaultSubscriptionRegistry(); }