Class DaprPubSubConsumer.DaprSubscriptionListener
java.lang.Object
org.apache.camel.component.dapr.consumer.DaprPubSubConsumer.DaprSubscriptionListener
- All Implemented Interfaces:
io.dapr.client.SubscriptionListener<byte[]>
- Enclosing class:
DaprPubSubConsumer
protected class DaprPubSubConsumer.DaprSubscriptionListener
extends Object
implements io.dapr.client.SubscriptionListener<byte[]>
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.dapr.client.SubscriptionListener
io.dapr.client.SubscriptionListener.Status -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreactor.core.publisher.Mono<io.dapr.client.SubscriptionListener.Status> onEvent(io.dapr.client.domain.CloudEvent<byte[]> cloudEvent)
-
Constructor Details
-
DaprSubscriptionListener
protected DaprSubscriptionListener()
-
-
Method Details
-
onEvent
public reactor.core.publisher.Mono<io.dapr.client.SubscriptionListener.Status> onEvent(io.dapr.client.domain.CloudEvent<byte[]> cloudEvent) - Specified by:
onEventin interfaceio.dapr.client.SubscriptionListener<byte[]>
-
onError
- Specified by:
onErrorin interfaceio.dapr.client.SubscriptionListener<byte[]>
-