public class RabbitIPCChannel extends IPCBasicChannel implements org.springframework.amqp.core.MessageListener
COMMAND_EVENT_TYPE, SENDER_UUID_KEY| Constructor and Description |
|---|
RabbitIPCChannel() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.amqp.core.AmqpTemplate |
getAmqpTemplate() |
String |
getExchangeName() |
String |
getRoutingKey() |
void |
onMessage(org.springframework.amqp.core.Message message) |
void |
produceMessage(String message) |
void |
setAmqpTemplate(org.springframework.amqp.core.AmqpTemplate amqpTemplate) |
void |
setExchangeName(String exchangeName) |
void |
setRoutingKey(String routingKey) |
addHandler, getChannelId, getHandlers, getMapper, getMessageCounts, handleMessage, isSendToMyself, produceMessage, sendCommand, sendCommand, setHandlers, setSendToMyselfpublic void produceMessage(String message)
produceMessage in interface IPCProducerpublic void onMessage(org.springframework.amqp.core.Message message)
onMessage in interface org.springframework.amqp.core.MessageListenerpublic String getExchangeName()
public void setExchangeName(String exchangeName)
exchangeName - the exchangeName to setpublic String getRoutingKey()
public void setRoutingKey(String routingKey)
routingKey - the routingKey to setpublic org.springframework.amqp.core.AmqpTemplate getAmqpTemplate()
public void setAmqpTemplate(org.springframework.amqp.core.AmqpTemplate amqpTemplate)
amqpTemplate - the amqpTemplate to setCopyright © 2016. All rights reserved.