public final class ServiceDefinitionToConsulRegistration extends Object implements org.springframework.core.convert.converter.Converter<org.apache.camel.cloud.ServiceDefinition,org.springframework.cloud.consul.serviceregistry.ConsulRegistration>
Constructor and Description |
---|
ServiceDefinitionToConsulRegistration(org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties properties) |
Modifier and Type | Method and Description |
---|---|
org.springframework.cloud.consul.serviceregistry.ConsulRegistration |
convert(org.apache.camel.cloud.ServiceDefinition source) |
public ServiceDefinitionToConsulRegistration(org.apache.camel.spring.boot.cloud.CamelCloudConfigurationProperties properties)
public org.springframework.cloud.consul.serviceregistry.ConsulRegistration convert(org.apache.camel.cloud.ServiceDefinition source)
convert
in interface org.springframework.core.convert.converter.Converter<org.apache.camel.cloud.ServiceDefinition,org.springframework.cloud.consul.serviceregistry.ConsulRegistration>
Apache Camel