public class InMemoryMessageAggregator extends Object
Message.| Modifier and Type | Method and Description |
|---|---|
void |
basicPublishReceived(org.wso2.broker.common.data.types.ShortString routingKey,
org.wso2.broker.common.data.types.ShortString exchangeName) |
boolean |
contentBodyReceived(long length,
io.netty.buffer.ByteBuf payload) |
void |
headerFrameReceived(org.wso2.broker.common.data.types.FieldTable headers,
org.wso2.broker.common.data.types.FieldTable properties,
long payloadSize)
Add the header frame that gives the relevant metadata for the given message.
|
org.wso2.broker.core.Message |
popMessage() |
void |
publish(org.wso2.broker.core.Message message) |
public void basicPublishReceived(org.wso2.broker.common.data.types.ShortString routingKey,
org.wso2.broker.common.data.types.ShortString exchangeName)
public void headerFrameReceived(org.wso2.broker.common.data.types.FieldTable headers,
org.wso2.broker.common.data.types.FieldTable properties,
long payloadSize)
headers - protocol specific headersproperties - properties of the messagepayloadSize - total message content length in bytespublic void publish(org.wso2.broker.core.Message message)
throws org.wso2.broker.core.BrokerException
org.wso2.broker.core.BrokerExceptionpublic boolean contentBodyReceived(long length,
io.netty.buffer.ByteBuf payload)
throws AmqpException
AmqpExceptionpublic org.wso2.broker.core.Message popMessage()
Copyright © 2018 WSO2. All rights reserved.