To send Spring ApplicationEvents, create an instance of the
ApplicationEventPublishingMessageHandler and register it within an endpoint.
This implementation of the MessageHandler interface also implements
Spring's ApplicationEventPublisherAware interface and thus acts as a
bridge between Spring Integration Messages and ApplicationEvents.