Class ApplicationEventListener
java.lang.Object
org.reactivecommons.async.rabbit.listeners.GenericMessageListener
org.reactivecommons.async.rabbit.listeners.ApplicationEventListener
-
Field Summary
Fields inherited from class org.reactivecommons.async.rabbit.listeners.GenericMessageListener
DEFAULT_RETRIES_DLQ, queueName -
Constructor Summary
ConstructorsConstructorDescriptionApplicationEventListener(ReactiveMessageListener receiver, String queueName, String eventsExchange, org.reactivecommons.async.commons.HandlerResolver resolver, org.reactivecommons.async.commons.converters.MessageConverter messageConverter, boolean withDLQRetry, boolean createTopology, long maxRetries, int retryDelay, Optional<Integer> maxLengthBytes, org.reactivecommons.async.commons.DiscardNotifier discardNotifier, org.reactivecommons.async.commons.ext.CustomReporter errorReporter, String appName) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetExecutorPath(reactor.rabbitmq.AcknowledgableDelivery msj) protected ObjectparseMessageForReporter(org.reactivecommons.async.commons.communications.Message msj) protected Function<org.reactivecommons.async.commons.communications.Message,reactor.core.publisher.Mono<Object>> rawMessageHandler(String executorPath) protected reactor.core.publisher.Mono<Void>setUpBindings(TopologyCreator creator) Methods inherited from class org.reactivecommons.async.rabbit.listeners.GenericMessageListener
enrichPostProcess, handle, logError, startListener
-
Constructor Details
-
ApplicationEventListener
public ApplicationEventListener(ReactiveMessageListener receiver, String queueName, String eventsExchange, org.reactivecommons.async.commons.HandlerResolver resolver, org.reactivecommons.async.commons.converters.MessageConverter messageConverter, boolean withDLQRetry, boolean createTopology, long maxRetries, int retryDelay, Optional<Integer> maxLengthBytes, org.reactivecommons.async.commons.DiscardNotifier discardNotifier, org.reactivecommons.async.commons.ext.CustomReporter errorReporter, String appName)
-
-
Method Details
-
setUpBindings
- Overrides:
setUpBindingsin classGenericMessageListener
-
rawMessageHandler
protected Function<org.reactivecommons.async.commons.communications.Message,reactor.core.publisher.Mono<Object>> rawMessageHandler(String executorPath) - Specified by:
rawMessageHandlerin classGenericMessageListener
-
getExecutorPath
- Specified by:
getExecutorPathin classGenericMessageListener
-
parseMessageForReporter
protected Object parseMessageForReporter(org.reactivecommons.async.commons.communications.Message msj) - Specified by:
parseMessageForReporterin classGenericMessageListener
-