Package | Description |
---|---|
org.axonframework.spring.messaging |
Utility classes used to connect Axon Event publishing mechanisms to a Spring Messaging Channel.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultEventMessageConverter
An
EventMessageConverter that will convert an Axon event message into a Spring message by:
Copying axon event payload into Spring message payload
Copying axon event metadata into Spring message headers
Adding axon event message specific attributes - that are not part of axon metadata - to the Spring message Headers. |
Constructor and Description |
---|
InboundEventMessageChannelAdapter(List<Consumer<List<? extends EventMessage<?>>>> processors,
EventMessageConverter eventMessageConverter)
Initialize the adapter to publish all incoming events to the subscribed processors.
|
OutboundEventMessageChannelAdapter(SubscribableMessageSource<EventMessage<?>> messageSource,
org.springframework.messaging.MessageChannel channel,
Predicate<? super EventMessage<?>> filter,
EventMessageConverter eventMessageConverter)
Initialize an adapter to forward messages from the given
messageSource to the given channel . |
Copyright © 2010–2024. All rights reserved.