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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns all filtered topics.booleanisFilteredTopic(String topic) Returns whethertopicis a filtered topic, i.e., we shall not subscribe to this topic.voidsetFilteredTopics(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
-
Field Details
-
filteredTopics
-
-
Constructor Details
-
GenericConfiguration
public GenericConfiguration()
-
-
Method Details
-
isFilteredTopic
Returns whethertopicis a filtered topic, i.e., we shall not subscribe to this topic.- Parameters:
topic- the topic name- Returns:
trueif the topic is filtered (no subscription),falseelse
-
getFilteredTopics
Returns all filtered topics.- Returns:
- the filtered topics
- See Also:
-
setFilteredTopics
Changes all filtered topics. [required by Spring]- Parameters:
filteredTopics- the new filtered topics- See Also:
-