Class MessageEventListener

java.lang.Object
org.frankframework.lifecycle.MessageEventListener
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<ApplicationMessageEvent>

public class MessageEventListener extends Object implements org.springframework.context.ApplicationListener<ApplicationMessageEvent>
  • Constructor Details

    • MessageEventListener

      public MessageEventListener()
  • Method Details

    • getMessageKeeper

      public MessageKeeper getMessageKeeper()
      Get MessageKeeper for the application. The MessageKeeper is not stored at the Configuration object instance to prevent messages being lost after configuration reload.
      Returns:
      MessageKeeper for the application
    • getMessageKeeper

      public MessageKeeper getMessageKeeper(String configurationName)
      Get MessageKeeper for a specific configuration. The MessageKeeper is not stored at the Configuration object instance to prevent messages being lost after configuration reload.
      Parameters:
      configurationName - configuration name to get the MessageKeeper object from
      Returns:
      MessageKeeper for specified configurations
    • onApplicationEvent

      public void onApplicationEvent(ApplicationMessageEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<ApplicationMessageEvent>