public class AnypointMQServiceImpl extends Object implements AnypointMQService
| Constructor and Description |
|---|
AnypointMQServiceImpl(AnypointMQConfiguration config,
AnypointMQConnection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
ack(AnypointMQMessageContext messageContext) |
AnypointMQMessageContext |
consume(String destination,
ConsumerAckMode acknowledgementMode,
Long pollingTime,
Long acknowledgementTimeout) |
void |
nack(AnypointMQMessageContext messageContext) |
String |
publish(String destination,
byte[] content,
boolean sendContentType,
String mediaType,
Optional<Charset> charset,
String messageId,
Map<String,String> properties) |
public AnypointMQServiceImpl(AnypointMQConfiguration config, AnypointMQConnection connection)
public void ack(AnypointMQMessageContext messageContext)
ack in interface AnypointMQServicepublic void nack(AnypointMQMessageContext messageContext)
nack in interface AnypointMQServicepublic AnypointMQMessageContext consume(String destination, ConsumerAckMode acknowledgementMode, Long pollingTime, Long acknowledgementTimeout)
consume in interface AnypointMQServiceCopyright © 2018 MuleSoft, Inc.. All rights reserved.