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
-
Method Summary
Modifier and TypeMethodDescriptioncall()
void
Listener for the cancel coming from the downstream.void
onComplete
(String channelName) Listener for the onComplete signal coming from the upstream.void
Listener for the onError event coming from the upstream.void
Listener for the initial event before actual subscribing.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.helidon.microprofile.messaging.MessagingChannelProcessor
channelName, map, onRequest, onSubscribe
-
Constructor Details
-
MessagingLivenessCheck
public MessagingLivenessCheck()
-
-
Method Details
-
call
- Specified by:
call
in interfaceHealthCheck
-
onError
Description copied from interface:MessagingChannelProcessor
Listener for the onError event coming from the upstream.- Specified by:
onError
in interfaceMessagingChannelProcessor
- Parameters:
channelName
- name of the messaging channelt
- error causing the onError signal
-
onCancel
Description copied from interface:MessagingChannelProcessor
Listener for the cancel coming from the downstream.- Specified by:
onCancel
in interfaceMessagingChannelProcessor
- Parameters:
channelName
- name of the messaging channel
-
onComplete
Description copied from interface:MessagingChannelProcessor
Listener for the onComplete signal coming from the upstream.- Specified by:
onComplete
in interfaceMessagingChannelProcessor
- Parameters:
channelName
- name of the messaging channel
-
onInit
Description copied from interface:MessagingChannelProcessor
Listener for the initial event before actual subscribing.- Specified by:
onInit
in interfaceMessagingChannelProcessor
- Parameters:
channelName
- name of the messaging channel
-