Class MqttV5MessageBinderProvisioner
java.lang.Object
de.iip_ecosphere.platform.transport.spring.binder.mqttv5.MqttV5MessageBinderProvisioner
- All Implemented Interfaces:
org.springframework.cloud.stream.provisioning.ProvisioningProvider<org.springframework.cloud.stream.binder.ConsumerProperties,org.springframework.cloud.stream.binder.ProducerProperties>
@Component public class MqttV5MessageBinderProvisioner extends Object implements org.springframework.cloud.stream.provisioning.ProvisioningProvider<org.springframework.cloud.stream.binder.ConsumerProperties,org.springframework.cloud.stream.binder.ProducerProperties>
Provisions producer and consumer destinations.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classMqttV5MessageBinderProvisioner.MqttMessageDestinationImplements a message destination for MQTT v5. -
Field Summary
Fields Modifier and Type Field Description private MqttConfigurationoptions -
Constructor Summary
Constructors Constructor Description MqttV5MessageBinderProvisioner() -
Method Summary
Modifier and Type Method Description org.springframework.cloud.stream.provisioning.ConsumerDestinationprovisionConsumerDestination(String name, String group, org.springframework.cloud.stream.binder.ConsumerProperties properties)org.springframework.cloud.stream.provisioning.ProducerDestinationprovisionProducerDestination(String name, org.springframework.cloud.stream.binder.ProducerProperties properties)
-
Field Details
-
Constructor Details
-
MqttV5MessageBinderProvisioner
public MqttV5MessageBinderProvisioner()
-
-
Method Details
-
provisionProducerDestination
public org.springframework.cloud.stream.provisioning.ProducerDestination provisionProducerDestination(String name, org.springframework.cloud.stream.binder.ProducerProperties properties) throws org.springframework.cloud.stream.provisioning.ProvisioningException- Specified by:
provisionProducerDestinationin interfaceorg.springframework.cloud.stream.provisioning.ProvisioningProvider<org.springframework.cloud.stream.binder.ConsumerProperties,org.springframework.cloud.stream.binder.ProducerProperties>- Throws:
org.springframework.cloud.stream.provisioning.ProvisioningException
-
provisionConsumerDestination
public org.springframework.cloud.stream.provisioning.ConsumerDestination provisionConsumerDestination(String name, String group, org.springframework.cloud.stream.binder.ConsumerProperties properties) throws org.springframework.cloud.stream.provisioning.ProvisioningException- Specified by:
provisionConsumerDestinationin interfaceorg.springframework.cloud.stream.provisioning.ProvisioningProvider<org.springframework.cloud.stream.binder.ConsumerProperties,org.springframework.cloud.stream.binder.ProducerProperties>- Throws:
org.springframework.cloud.stream.provisioning.ProvisioningException
-