public abstract class BaseProcessor extends Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
BaseProcessor.CallbackExecutor
Interface for executing a specific callback.
|
protected static class |
BaseProcessor.CallbackExecutorAdapter
Adapter for the callback executor.
|
Constructor and Description |
---|
BaseProcessor() |
Modifier and Type | Method and Description |
---|---|
protected void |
handleCallbacks(BaseProcessor.CallbackExecutor executor,
String[] ids)
Handle the callbacks for the specified addressing context.
|
protected void |
register(String messageID,
Callback callback)
Register the callback for the message ID.
|
void |
removeCallback(String messageID)
Remove the callback for the specified message ID.
|
protected void register(String messageID, Callback callback)
messageID
- The message ID.callback
- The callback.public void removeCallback(String messageID)
messageID
- The message ID.protected void handleCallbacks(BaseProcessor.CallbackExecutor executor, String[] ids)
executor
- The callback executor.ids
- The message ids.Copyright © 2018 JBoss by Red Hat. All rights reserved.