Class MessagingReadinessCheck
java.lang.Object
io.helidon.microprofile.messaging.health.MessagingReadinessCheck
- All Implemented Interfaces:
MessagingChannelProcessor,HealthCheck
@Readiness
@ApplicationScoped
@BuiltInHealthCheck
public class MessagingReadinessCheck
extends Object
implements HealthCheck, MessagingChannelProcessor
MicroProfile Reactive Messaging readiness check.
Until all channels is up, 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 initial event before actual subscribing.voidonSubscribe(String channelName, Subscriber<Message<?>> subscriber, Subscription subscription) Listener for the onSubscribe signal coming from the upstream.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, onCancel, onComplete, onError, onRequest
-
Constructor Details
-
MessagingReadinessCheck
public MessagingReadinessCheck()
-
-
Method Details
-
call
- Specified by:
callin interfaceHealthCheck
-
onSubscribe
public void onSubscribe(String channelName, Subscriber<Message<?>> subscriber, Subscription subscription) Description copied from interface:MessagingChannelProcessorListener for the onSubscribe signal coming from the upstream.- Specified by:
onSubscribein interfaceMessagingChannelProcessor- Parameters:
channelName- name of the messaging channelsubscriber- subscriber causing this onSubscribe signalsubscription- assigned subscription
-
onInit
Description copied from interface:MessagingChannelProcessorListener for the initial event before actual subscribing.- Specified by:
onInitin interfaceMessagingChannelProcessor- Parameters:
channelName- name of the messaging channel
-