public class QueueOperations extends Object
| Constructor and Description |
|---|
QueueOperations() |
| Modifier and Type | Method and Description |
|---|---|
void |
queuePush(QueueConfiguration configuration,
TestQueue queue,
org.mule.runtime.api.metadata.TypedValue<Object> content,
org.mule.runtime.api.metadata.TypedValue<Object> msg,
boolean consumeStream)
A stores received events in a in-memory queue.
|
@MediaType(value="*/*",
strict=false)
public void queuePush(@Config
QueueConfiguration configuration,
@Connection
TestQueue queue,
@Content(primary=true) @Optional(defaultValue="#[payload]")
org.mule.runtime.api.metadata.TypedValue<Object> content,
@Optional(defaultValue="#[message]")
org.mule.runtime.api.metadata.TypedValue<Object> msg,
@Optional(defaultValue="false")
boolean consumeStream)
throws InterruptedException
content - Content to be sent to the queue. By default it will be the payload content.InterruptedExceptionCopyright © 2024 MuleSoft, Inc.. All rights reserved.