public interface ISubChannel<T> extends IChannel<T>
| Modifier and Type | Method and Description |
|---|---|
default ISubChannel<?> |
createSubChannel(UUID scopeId,
String scopeName,
Map<String,Object> configurationProperties,
Map<String,Object> stateProperties)
creates a
ISubChannel in global scope (IChannel) with this scope as parent scope. |
void |
dispose()
dispose this scope and remove it from global scope
|
String |
getChannelName()
getter for scope name
|
ISubChannel<?> |
getParentChannel()
getter for parent scope, if exists.
|
UUID |
getScopeId()
getter for scope id.
|
createChildScope, createChildScope, getAdapter, getAdapter, getChildScope, getChildScopes, getConfigurationPropertyBlock, getDispatcher, getId, getMessage, getMessageSnapshot, getMessageSnapshotPoll, getRootChannel, getStatePropertyBlock, getTask, getTaskPropertyBlock, removeAdapter, removeMessage, removeMessageList, removeTask, rescheduleTask, scheduleTask, scheduleTask, scheduleTask, scheduleTask, setAdapter, signal, storeMessage, storeMessage, storeMessageWithResult, storeMessageWithResultUUID getScopeId()
ISubChannel<?> getParentChannel()
String getChannelName()
void dispose()
default ISubChannel<?> createSubChannel(UUID scopeId, String scopeName, Map<String,Object> configurationProperties, Map<String,Object> stateProperties)
ISubChannel in global scope (IChannel) with this scope as parent scope.scopeId - unique id of scope (unique by queue) or null for auto-generationscopeName - human readable name of scope (nullable)configurationProperties - blue print for configuration propertyblock of new scope (nullable)stateProperties - blue print for state propertyblock of new scope (nullable)Copyright © 2020. All rights reserved.