Class ApplicationNotificationListener
java.lang.Object
org.reactivecommons.async.rabbit.listeners.GenericMessageListener
org.reactivecommons.async.rabbit.listeners.ApplicationNotificationListener
-
Field Summary
Fields inherited from class org.reactivecommons.async.rabbit.listeners.GenericMessageListener
DEFAULT_RETRIES_DLQ, queueName -
Constructor Summary
ConstructorsConstructorDescriptionApplicationNotificationListener(ReactiveMessageListener receiver, String exchangeName, String queueName, boolean createTopology, org.reactivecommons.async.commons.HandlerResolver handlerResolver, org.reactivecommons.async.commons.converters.MessageConverter messageConverter, org.reactivecommons.async.commons.DiscardNotifier discardNotifier, org.reactivecommons.async.commons.ext.CustomReporter errorReporter) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetExecutorPath(reactor.rabbitmq.AcknowledgableDelivery message) 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
-
ApplicationNotificationListener
public ApplicationNotificationListener(ReactiveMessageListener receiver, String exchangeName, String queueName, boolean createTopology, org.reactivecommons.async.commons.HandlerResolver handlerResolver, org.reactivecommons.async.commons.converters.MessageConverter messageConverter, org.reactivecommons.async.commons.DiscardNotifier discardNotifier, org.reactivecommons.async.commons.ext.CustomReporter errorReporter)
-
-
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
-