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
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    reactor.core.publisher.Mono<io.dapr.client.SubscriptionListener.Status>
    onEvent(io.dapr.client.domain.CloudEvent<byte[]> cloudEvent)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      onEvent in interface io.dapr.client.SubscriptionListener<byte[]>
    • onError

      public void onError(RuntimeException ex)
      Specified by:
      onError in interface io.dapr.client.SubscriptionListener<byte[]>