Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NAME |
static String |
EVENT_SEND |
static String |
EXTERNAL_MESSAGE_MARKER |
static String |
STRING_DATA_KEY |
Modifier and Type | Method and Description |
---|---|
void |
send(Map<String,Object> message,
String topic)
Sends the given message to the specified topic/pattern of all connected message brokers.
|
void |
send(Map<String,Object> data,
String service,
String entity,
String event)
Sends the CDS message to all connected message brokers.
|
void |
send(String message,
String topic)
Sends the given message to the specified topic/pattern of all connected message brokers.
|
static final String EVENT_SEND
static final String EXTERNAL_MESSAGE_MARKER
static final String STRING_DATA_KEY
static final String DEFAULT_NAME
void send(String message, String topic)
message
- raw message to be sendtopic
- topic or topic patternvoid send(Map<String,Object> message, String topic)
message
- structured message to be sendtopic
- topic or topic patternvoid send(Map<String,Object> data, String service, String entity, String event)
data
- CDS message payload to be sendservice
- service the message is send forentity
- entity the message is send forevent
- event of the entityCopyright © 2020. All rights reserved.