public class CommunoteMessageSenderImpl extends Object implements CommunoteMessageSender
Constructor and Description |
---|
CommunoteMessageSenderImpl() |
Modifier and Type | Method and Description |
---|---|
void |
sendMessage(BaseMessage message,
String messageType,
String version)
Sends a message to CNT internal
|
void |
sendReplyMessage(CommunoteReplyMessage message)
is used to send a reply to the incoming message
|
public void sendMessage(BaseMessage message, String messageType, String version) throws MessageQueueCommunicationException
sendMessage
in interface CommunoteMessageSender
message
- the messagemessageType
- the type of the messageversion
- the version of the messageMessageQueueCommunicationException
public void sendReplyMessage(CommunoteReplyMessage message) throws MessageQueueCommunicationException
CommunoteMessageSender
sendReplyMessage
in interface CommunoteMessageSender
message
- reply messageMessageQueueCommunicationException
Copyright © 2019 Communote team. All rights reserved.