Class FileBasedMessagingBroker

java.lang.Object
com.sap.cds.services.impl.messaging.file.FileBasedMessagingBroker

public class FileBasedMessagingBroker extends Object
Implementation of the internal file based messaging service for local environment tests.
  • Constructor Details

  • Method Details

    • emitMessage

      public void emitMessage(String topic, TopicMessageEventContext messageEventContext)
      Emits a new message to the file.
      Parameters:
      topic - the topic the message should be send to
      messageEventContext - the TopicMessageEventContext containing the message that shall be send
    • registerListener

      public void registerListener(MessagingBrokerQueueListener listener) throws IOException
      Throws:
      IOException
    • subscribeTopic

      public void subscribeTopic(String topic)
    • stop

      public void stop()