public final class TestQueue extends Object
| Modifier and Type | Method and Description |
|---|---|
int |
countPendingEvents() |
String |
getName() |
org.mule.runtime.core.api.event.CoreEvent |
pop() |
org.mule.runtime.core.api.event.CoreEvent |
pop(long timeout,
TimeUnit timeUnit) |
void |
push(org.mule.runtime.core.api.event.CoreEvent coreEvent) |
public TestQueue(String name)
public String getName()
public void push(org.mule.runtime.core.api.event.CoreEvent coreEvent)
throws InterruptedException
InterruptedExceptionpublic org.mule.runtime.core.api.event.CoreEvent pop()
public org.mule.runtime.core.api.event.CoreEvent pop(long timeout,
TimeUnit timeUnit)
throws InterruptedException
InterruptedExceptionpublic int countPendingEvents()
Copyright © 2022 MuleSoft, Inc.. All rights reserved.