Sending a test message when starting the microservice

Configuration for sending a test message when starting the ecos-notifications microservice has been added to application property:

ecos-notifications:
    startup-notification:
        enabled: true
        body: Microservice ecos-notifications successfully started and ready for operation. This is a test message – no reply is needed.
        title: Microservice ecos-notifications successfully started and ready for operation
        recipient: test@test.ru
  • enabled - true/false — whether message sending is enabled or disabled;

  • body - body of the test message;

  • title - subject of the test message;

  • recipient - recipient of the test message.