public interface ResponseQueue extends DocumentWorkerObject
The queue may or may not be enabled. If the queue is not enabled then response messages published to it will be discarded.
| Modifier and Type | Method and Description |
|---|---|
void |
disable()
Disables the response queue.
|
String |
getName()
Returns the name of the response queue.
|
Response |
getResponse()
Returns the response customization object that this response queue object is associated with.
|
boolean |
isEnabled()
Returns true if the response queue is enabled.
|
void |
reset()
|
void |
set(String name)
Sets the response queue.
|
getApplicationvoid disable()
@Nonnull String getName()
isEnabled() call should be used before calling this method as it is only
available if the queue is enabled. This method will throw a RuntimeException if the queue is not enabled.RuntimeException - if the response queue is disabled@Nonnull Response getResponse()
boolean isEnabled()
void reset()
void set(String name)
disable() method.name - the name of the response queue, or null to disable the queueCopyright © 2016–2022 EntIT Software LLC, a Micro Focus company. All rights reserved.