| Constructor and Description |
|---|
InMemoryMessageAggregator(Broker broker) |
| Modifier and Type | Method and Description |
|---|---|
void |
basicPublishReceived(ShortString routingKey,
ShortString exchangeName) |
boolean |
contentBodyReceived(long length,
io.netty.buffer.ByteBuf payload) |
void |
headerFrameReceived(io.netty.buffer.ByteBuf rawMetadata,
long payloadSize)
Add the header frame that gives the relevant metadata for the given message.
|
Message |
popMessage() |
void |
publish(Message message) |
public InMemoryMessageAggregator(Broker broker)
public void basicPublishReceived(ShortString routingKey, ShortString exchangeName)
public void headerFrameReceived(io.netty.buffer.ByteBuf rawMetadata,
long payloadSize)
rawMetadata - unprocessed raw metadata ByteBufpayloadSize - total message content length in bytespublic void publish(Message message) throws BrokerException
BrokerExceptionpublic boolean contentBodyReceived(long length,
io.netty.buffer.ByteBuf payload)
throws AmqpException
AmqpExceptionpublic Message popMessage()
Copyright © 2017 WSO2. All rights reserved.