public class TestConnectorConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CONFIG_ID |
| Constructor and Description |
|---|
TestConnectorConfig() |
| Modifier and Type | Method and Description |
|---|---|
Event |
poll(String queueName,
long timeout)
Reads an event from a given queue waiting up to the specified wait time if necessary for an element to become available.
|
Event |
take(String queueName)
Reads an event from a given queue waiting if necessary until an element becomes available.
|
void |
write(String queueName,
Event event)
Writes a even to to a given queue waiting if necessary for space to become available
|
public static final String DEFAULT_CONFIG_ID
public Event poll(String queueName, long timeout)
queueName - name of the queue which the event is read from. Non emptytimeout - maximum number of milliseconds to wait for an available event. Non negativepublic Event take(String queueName)
queueName - name of the queue which the event is read from. Non emptyCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.