public class LocalMessagingService extends AbstractMessagingService
| Modifier and Type | Field and Description |
|---|---|
static String |
LOCAL_KIND |
FORMAT_CLOUDEVENTS, queue, runtime, serviceConfigCOMPOSITE_NAME| Constructor and Description |
|---|
LocalMessagingService(CdsProperties.Messaging.MessagingServiceConfig serviceConfig,
CdsRuntime runtime) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createQueue(String name,
Map<String,String> properties) |
protected void |
createQueueSubscription(String queue,
String topic) |
protected void |
emitTopicMessage(String topic,
String message) |
void |
init() |
protected void |
registerQueueListener(String queue,
MessagingBrokerQueueListener listener) |
protected void |
removeQueue(String name) |
protected String |
toFullyQualifiedTopicName(String event,
boolean inbound) |
cloudEventsFormatter, createOrUpdateQueuesAndSubscriptions, emit, emit, emit, getTopicMatcher, isCloudEventsFormat, on, sendMessageEvent, stop, toFullyQualifiedQueueNameafter, after, before, before, getDelegatedService, getName, onpublic static final String LOCAL_KIND
public LocalMessagingService(CdsProperties.Messaging.MessagingServiceConfig serviceConfig, CdsRuntime runtime)
public void init()
init in class AbstractMessagingServiceprotected void removeQueue(String name)
removeQueue in class AbstractMessagingServiceprotected void createQueue(String name, Map<String,String> properties)
createQueue in class AbstractMessagingServiceprotected void createQueueSubscription(String queue, String topic)
createQueueSubscription in class AbstractMessagingServiceprotected void registerQueueListener(String queue, MessagingBrokerQueueListener listener)
registerQueueListener in class AbstractMessagingServiceprotected String toFullyQualifiedTopicName(String event, boolean inbound)
toFullyQualifiedTopicName in class AbstractMessagingServiceprotected void emitTopicMessage(String topic, String message)
emitTopicMessage in class AbstractMessagingServiceCopyright © 2022. All rights reserved.