Class ApplicationNotificationsListener
java.lang.Object
org.reactivecommons.async.kafka.listeners.GenericMessageListener
org.reactivecommons.async.kafka.listeners.ApplicationNotificationsListener
-
Field Summary
Fields inherited from class org.reactivecommons.async.kafka.listeners.GenericMessageListener
DEFAULT_RETRIES -
Constructor Summary
ConstructorsConstructorDescriptionApplicationNotificationsListener(ReactiveMessageListener receiver, org.reactivecommons.async.commons.HandlerResolver resolver, org.reactivecommons.async.commons.converters.MessageConverter messageConverter, boolean withDLQRetry, boolean createTopology, long maxRetries, int retryDelay, org.reactivecommons.async.commons.DiscardNotifier discardNotifier, org.reactivecommons.async.commons.ext.CustomReporter errorReporter, String appName) -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetExecutorPath(reactor.kafka.receiver.ReceiverRecord<String, byte[]> 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) Methods inherited from class org.reactivecommons.async.kafka.listeners.GenericMessageListener
enrichPostProcess, handle, logError, setUpBindings, startListener
-
Constructor Details
-
ApplicationNotificationsListener
public ApplicationNotificationsListener(ReactiveMessageListener receiver, org.reactivecommons.async.commons.HandlerResolver resolver, org.reactivecommons.async.commons.converters.MessageConverter messageConverter, boolean withDLQRetry, boolean createTopology, long maxRetries, int retryDelay, org.reactivecommons.async.commons.DiscardNotifier discardNotifier, org.reactivecommons.async.commons.ext.CustomReporter errorReporter, String appName)
-
-
Method Details
-
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
-