| 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(FieldTable headers,
FieldTable properties,
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(FieldTable headers, FieldTable properties, long payloadSize)
headers - protocol specific headersproperties - properties of the messagepayloadSize - 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 © 2018 WSO2. All rights reserved.