public class ListenerContainerIdleEvent extends AmqpEvent
source| Constructor and Description |
|---|
ListenerContainerIdleEvent(Object source,
long idleTime,
String id,
String... queueNames) |
| Modifier and Type | Method and Description |
|---|---|
long |
getIdleTime()
How long the container has been idle.
|
String |
getListenerId()
The id of the listener (if
@RabbitListener) or the container bean name. |
String[] |
getQueueNames()
The queues the container is listening to.
|
String |
toString() |
getTimestampgetSourcepublic long getIdleTime()
public String[] getQueueNames()
@Nullable public String getListenerId()
@RabbitListener) or the container bean name.public String toString()
toString in class EventObject