Class MessagingLivenessCheck
java.lang.Object
io.helidon.microprofile.messaging.health.MessagingLivenessCheck
- All Implemented Interfaces:
MessagingChannelProcessor,HealthCheck
@Liveness
@ApplicationScoped
@BuiltInHealthCheck
public class MessagingLivenessCheck
extends Object
implements HealthCheck, MessagingChannelProcessor
MicroProfile Reactive Messaging liveness check.
If any of the channels go down, messaging is considered to be down.
-
Field Summary
Fields inherited from interface io.helidon.microprofile.messaging.MessagingChannelProcessor
DEFAULT_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall()voidListener for the cancel coming from the downstream.voidonComplete(String channelName) Listener for the onComplete signal coming from the upstream.voidListener for the onError event coming from the upstream.voidListener for the initial event before actual subscribing.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.microprofile.messaging.MessagingChannelProcessor
channelName, map, onRequest, onSubscribe
-
Constructor Details
-
MessagingLivenessCheck
public MessagingLivenessCheck()
-
-
Method Details
-
call
- Specified by:
callin interfaceHealthCheck
-
onError
Description copied from interface:MessagingChannelProcessorListener for the onError event coming from the upstream.- Specified by:
onErrorin interfaceMessagingChannelProcessor- Parameters:
channelName- name of the messaging channelt- error causing the onError signal
-
onCancel
Description copied from interface:MessagingChannelProcessorListener for the cancel coming from the downstream.- Specified by:
onCancelin interfaceMessagingChannelProcessor- Parameters:
channelName- name of the messaging channel
-
onComplete
Description copied from interface:MessagingChannelProcessorListener for the onComplete signal coming from the upstream.- Specified by:
onCompletein interfaceMessagingChannelProcessor- Parameters:
channelName- name of the messaging channel
-
onInit
Description copied from interface:MessagingChannelProcessorListener for the initial event before actual subscribing.- Specified by:
onInitin interfaceMessagingChannelProcessor- Parameters:
channelName- name of the messaging channel
-