Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NAME |
static String |
EVENT_CHANGED |
static String |
EVENT_SEND |
Modifier and Type | Method and Description |
---|---|
MessageQueueRegistry |
getQueueRegistry()
Returns the queue registry.
|
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 EVENT_CHANGED
static final String DEFAULT_NAME
MessageQueueRegistry getQueueRegistry()
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.