Class BinderFixProperties

java.lang.Object
de.iip_ecosphere.platform.transport.spring.BinderFixProperties

@Component @ConfigurationProperties(prefix="binders") public class BinderFixProperties extends Object
Replication of binder properties to have all binder information available. Somehow, the Spring structure does not work in its context. Example:
 binders:
   properties:
      internal:
          type: hivemqv3Binder
          environment:
              mqtt:
                  host: localhost
                  clientId: external
                  port: 8883
      external:
          type: hivemqv3Binder
          environment:
              mqtt:
                  host: localhost
                  clientId: external
                  port: 8883
 
Author:
Holger Eichelberger, SSE
  • Field Details

    • properties

      private Map<String,org.springframework.cloud.stream.config.BinderProperties> properties
  • Constructor Details

    • BinderFixProperties

      public BinderFixProperties()
  • Method Details

    • setProperties

      public void setProperties(Map<String,org.springframework.cloud.stream.config.BinderProperties> properties)
      Defines the binder properties. [required by Spring]
      Parameters:
      properties - the new binder properties
    • getProperties

      public Map<String,org.springframework.cloud.stream.config.BinderProperties> getProperties()
      Returns the binder properties.
      Returns:
      the binder properties