Class MqttV5MessageBinderProvisioner.MqttMessageDestination

  • All Implemented Interfaces:
    org.springframework.cloud.stream.provisioning.ConsumerDestination, org.springframework.cloud.stream.provisioning.ProducerDestination
    Enclosing class:
    MqttV5MessageBinderProvisioner

    private class MqttV5MessageBinderProvisioner.MqttMessageDestination
    extends java.lang.Object
    implements org.springframework.cloud.stream.provisioning.ProducerDestination, org.springframework.cloud.stream.provisioning.ConsumerDestination
    Implements a message destination for MQTT v5.
    Author:
    Holger Eichelberger, SSE
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String destination  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private MqttMessageDestination​(java.lang.String destination)
      Implements a message destination.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()  
      java.lang.String getNameForPartition​(int partition)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • destination

        private final java.lang.String destination
    • Constructor Detail

      • MqttMessageDestination

        private MqttMessageDestination​(java.lang.String destination)
        Implements a message destination.
        Parameters:
        destination - the destination (topic)
    • Method Detail

      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface org.springframework.cloud.stream.provisioning.ConsumerDestination
        Specified by:
        getName in interface org.springframework.cloud.stream.provisioning.ProducerDestination
      • getNameForPartition

        public java.lang.String getNameForPartition​(int partition)
        Specified by:
        getNameForPartition in interface org.springframework.cloud.stream.provisioning.ProducerDestination