Class GenericConfiguration

java.lang.Object
de.iip_ecosphere.platform.transport.spring.BasicConfiguration
de.iip_ecosphere.platform.transport.spring.binder.generic.GenericConfiguration

@ConfigurationProperties(prefix="generic") public class GenericConfiguration extends de.iip_ecosphere.platform.transport.spring.BasicConfiguration
Represents the configuration options of a generic client. Currently, we support simple user name / plain password authentication for testing.
Author:
Holger Eichelberger, SSE
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private List<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns all filtered topics.
    boolean
    Returns whether topic is a filtered topic, i.e., we shall not subscribe to this topic.
    void
    setFilteredTopics(List<String> filteredTopics)
    Changes all filtered topics.

    Methods inherited from class de.iip_ecosphere.platform.transport.spring.BasicConfiguration

    createTlsContext, createTransportParameterBuilder, createTrustManagerFactory, getAuthenticationKey, getHost, getHostnameVerification, getKeyAlias, getKeystoreKey, getPort, setAuthenticationKey, setHost, setHostnameVerification, setKeyAlias, setKeystoreKey, setPort, toTransportParameter, useTls

    Methods inherited from class java.lang.Object

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

    • filteredTopics

      private List<String> filteredTopics
  • Constructor Details

    • GenericConfiguration

      public GenericConfiguration()
  • Method Details

    • isFilteredTopic

      public boolean isFilteredTopic(String topic)
      Returns whether topic is a filtered topic, i.e., we shall not subscribe to this topic.
      Parameters:
      topic - the topic name
      Returns:
      true if the topic is filtered (no subscription), false else
    • getFilteredTopics

      public List<String> getFilteredTopics()
      Returns all filtered topics.
      Returns:
      the filtered topics
      See Also:
    • setFilteredTopics

      public void setFilteredTopics(List<String> filteredTopics)
      Changes all filtered topics. [required by Spring]
      Parameters:
      filteredTopics - the new filtered topics
      See Also: