public class MultiplexingChannelSelector extends AbstractChannelSelector
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_DEFAULT_CHANNEL |
static String |
CONFIG_MULTIPLEX_HEADER_NAME |
static String |
CONFIG_PREFIX_MAPPING |
static String |
CONFIG_PREFIX_OPTIONAL |
static String |
DEFAULT_MULTIPLEX_HEADER |
Constructor and Description |
---|
MultiplexingChannelSelector() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Context context)
Request the implementing class to (re)configure itself.
|
List<Channel> |
getOptionalChannels(Event event)
Returns a list of optional channels.
|
List<Channel> |
getRequiredChannels(Event event)
Returns a list of required channels.
|
getAllChannels, getChannelListFromNames, getChannelNameMap, getName, setChannels, setName
public static final String CONFIG_MULTIPLEX_HEADER_NAME
public static final String DEFAULT_MULTIPLEX_HEADER
public static final String CONFIG_PREFIX_MAPPING
public static final String CONFIG_DEFAULT_CHANNEL
public static final String CONFIG_PREFIX_OPTIONAL
public List<Channel> getRequiredChannels(Event event)
ChannelSelector
public List<Channel> getOptionalChannels(Event event)
ChannelSelector
public void configure(Context context)
Configurable
Request the implementing class to (re)configure itself.
When configuration parameters are changed, they must be reflected by the component asap.
There are no thread safety guarantees on when configure might be called.
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.