Class MessageEventListener
java.lang.Object
org.frankframework.lifecycle.events.MessageEventListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<MessageEvent<?>>
public class MessageEventListener
extends Object
implements org.springframework.context.ApplicationListener<MessageEvent<?>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet MessageKeeper for the application.getMessageKeeper(String configurationName) Get MessageKeeper for a specific configuration.voidonApplicationEvent(MessageEvent<?> event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
MessageEventListener
public MessageEventListener()
-
-
Method Details
-
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
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
- Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<MessageEvent<?>>
-