public interface IMessageDispatcher
| Modifier and Type | Method and Description |
|---|---|
IPropertyBlock |
createPropertyBlock()
factory-methode creating instance of
IPropertyBlock |
void |
dispose()
Remove all workers and clean resources.
|
IChannel<?> |
getChannel(String channelId)
getter to request for
IChannel with given id |
List<String> |
getChannelIdList()
request for all
IChannel-IDs |
String |
getId()
getter for id of dispatcher.
|
IPropertyBlock |
getPropertyBlock()
getter for propertyblock of dispatcher
|
<T> IChannel<T> |
getTypedChannel(String channelId,
Class<T> messageType) |
void |
registerChannelManager(IChannelManager queueController) |
void |
registerChannelService(IChannelService queueService) |
<T> void |
sendMessage(String channelId,
T message)
queue a message to addressed queue
|
void |
unregisterChannelManager(IChannelManager eventController) |
void |
unregisterChannelService(IChannelService queueService) |
<T> void sendMessage(String channelId, T message) throws ChannelNotFoundException, ChannelIsFullException
channelId - id of IChannelmessage - message to queueChannelNotFoundExceptionChannelIsFullExceptionIPropertyBlock createPropertyBlock()
IPropertyBlockIPropertyBlockList<String> getChannelIdList()
IChannel-IDsList with queueIdsIChannel<?> getChannel(String channelId)
IChannel with given idchannelId - id for queueIChannel registered with queueIdIPropertyBlock getPropertyBlock()
IPropertyBlock of dispatcherString getId()
void dispose()
void registerChannelManager(IChannelManager queueController)
void registerChannelService(IChannelService queueService)
void unregisterChannelManager(IChannelManager eventController)
void unregisterChannelService(IChannelService queueService)
Copyright © 2020. All rights reserved.