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 |
|---|---|
CoreEvent |
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.
|
CoreEvent |
take(String queueName)
Reads an event from a given queue waiting if necessary until an element becomes available.
|
void |
write(String queueName,
CoreEvent 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 CoreEvent 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 CoreEvent take(String queueName)
queueName - name of the queue which the event is read from. Non emptyCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.