Modifier and Type | Field and Description |
---|---|
static String |
COMPOSITE_NAME |
static String |
EVENT_SEND_CDS |
static String |
INBOUND_MESSAGE |
static String |
STRING_DATA_KEY |
Modifier and Type | Method and Description |
---|---|
void |
send(String topic,
Map<String,Object> message)
Sends the given message to the specified topic/pattern of all connected message brokers.
|
void |
send(String topic,
String message)
Sends the given message to the specified topic/pattern of all connected message brokers.
|
void |
send(String service,
String entity,
String event,
Map<String,Object> data)
Sends the CDS message to all connected message brokers.
|
static final String EVENT_SEND_CDS
static final String INBOUND_MESSAGE
static final String STRING_DATA_KEY
static final String COMPOSITE_NAME
void send(String topic, String message)
topic
- topic or topic patternmessage
- raw message to be sendvoid send(String topic, Map<String,Object> message)
topic
- topic or topic patternmessage
- structured message to be sendvoid send(String service, String entity, String event, Map<String,Object> data)
service
- service the message is send forentity
- entity the message is send forevent
- event of the entitydata
- CDS message payload to be sendCopyright © 2020. All rights reserved.