Class DynamicDestinationsBindable

java.lang.Object
org.springframework.cloud.stream.binding.DynamicDestinationsBindable
All Implemented Interfaces:
Bindable

public final class DynamicDestinationsBindable extends Object implements Bindable
A Bindable that stores the dynamic destination names and handles their unbinding.
Author:
Ilayaperumal Gopinathan, Oleg Zhurakousky
  • Constructor Details

    • DynamicDestinationsBindable

      public DynamicDestinationsBindable()
  • Method Details

    • addOutputBinding

      public void addOutputBinding(String name, Binding<?> binding)
    • getOutputs

      public Set<String> getOutputs()
      Description copied from interface: Bindable
      Enumerates all the output binding names.
      Specified by:
      getOutputs in interface Bindable
      Returns:
      output binding names
    • unbindOutputs

      public void unbindOutputs(BindingService adapter)
      Description copied from interface: Bindable
      Unbinds all the outputs associated with this instance.
      Specified by:
      unbindOutputs in interface Bindable
      Parameters:
      adapter - binding service