public class FileBasedMessagingService extends AbstractMessagingService
MessagingBrokerConnector for the file based
messaging service.| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_KIND |
FORMAT_CLOUDEVENTS, queue, runtime, serviceConfigCOMPOSITE_NAME| Constructor and Description |
|---|
FileBasedMessagingService(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) |
protected void |
registerQueueListener(String queue,
MessagingBrokerQueueListener listener) |
protected void |
removeQueue(String name) |
cloudEventsFormatter, createOrUpdateQueuesAndSubscriptions, emit, emit, emit, getTopicMatcher, init, isCloudEventsFormat, on, sendMessageEvent, stop, toFullyQualifiedQueueName, toFullyQualifiedTopicNameafter, after, before, before, getDelegatedService, getName, onpublic static final String FILE_KIND
public FileBasedMessagingService(CdsProperties.Messaging.MessagingServiceConfig serviceConfig, CdsRuntime runtime) throws IOException
IOExceptionprotected 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 void emitTopicMessage(String topic, String message)
emitTopicMessage in class AbstractMessagingServiceCopyright © 2022. All rights reserved.