public class ListenerContainerIdleEvent extends AmqpEvent
source| Constructor and Description |
|---|
ListenerContainerIdleEvent(SimpleMessageListenerContainer source,
long idleTime) |
| 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[] |
getQueues()
The queues the container is listening to.
|
String |
toString() |
getTimestampgetSourcepublic ListenerContainerIdleEvent(SimpleMessageListenerContainer source, long idleTime)
public long getIdleTime()
public String[] getQueues()
public String getListenerId()
@RabbitListener) or the container bean name.public String toString()
toString in class EventObject