Class PubSubMessageIdBinder

java.lang.Object
io.micronaut.gcp.pubsub.bind.PubSubMessageIdBinder
All Implemented Interfaces:
io.micronaut.core.bind.annotation.AnnotatedArgumentBinder<MessageId,Object,PubSubConsumerState>, io.micronaut.core.bind.ArgumentBinder<Object,PubSubConsumerState>, PubSubAnnotatedArgumentBinder<MessageId>, PubSubArgumentBinder<Object>

@Singleton public class PubSubMessageIdBinder extends Object implements PubSubAnnotatedArgumentBinder<MessageId>
Binds a PubSubMessage Id to the argument. Note that target argument must be of type String or else an exception is thrown.
Since:
2.0.0
Author:
Vinicius Carvalho
  • Constructor Details

    • PubSubMessageIdBinder

      public PubSubMessageIdBinder()
  • Method Details