public class PivotalCloudServiceConnectionFactory extends org.springframework.cloud.config.java.CloudServiceConnectionFactory implements PivotalServiceConnectionFactory
| Constructor and Description |
|---|
PivotalCloudServiceConnectionFactory(CloudConnectorsConfig cloudConnectorsConfig,
org.springframework.cloud.Cloud cloud) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.netflix.eureka.EurekaClientConfigBean |
eurekaClientConfig()
Get the
EurekaClientConfigBean object associated with the only Eureka service bound to the app. |
org.springframework.cloud.netflix.eureka.EurekaClientConfigBean |
eurekaClientConfig(String serviceId)
Get the
EurekaClientConfigBean object for the specified Eureka service. |
org.springframework.amqp.rabbit.connection.ConnectionFactory |
hystrixConnectionFactory()
Get the
ConnectionFactory object associated with the only Hystrix AMQP service bound to the app. |
org.springframework.amqp.rabbit.connection.ConnectionFactory |
hystrixConnectionFactory(org.springframework.cloud.service.messaging.RabbitConnectionFactoryConfig rabbitConnectionFactoryConfig)
Get the
ConnectionFactory object associated with the only Hystrix AMQP service bound to the app
configured as specified. |
org.springframework.amqp.rabbit.connection.ConnectionFactory |
hystrixConnectionFactory(String serviceId)
Get the
ConnectionFactory object for the specified Hystrix AMQP service. |
org.springframework.amqp.rabbit.connection.ConnectionFactory |
hystrixConnectionFactory(String serviceId,
org.springframework.cloud.service.messaging.RabbitConnectionFactoryConfig rabbitConnectionFactoryConfig)
Get the
ConnectionFactory object for the specified Hystrix AMQP service configured as specified. |
dataSource, dataSource, dataSource, dataSource, mongoDbFactory, mongoDbFactory, mongoDbFactory, mongoDbFactory, rabbitConnectionFactory, rabbitConnectionFactory, rabbitConnectionFactory, rabbitConnectionFactory, redisConnectionFactory, redisConnectionFactory, redisConnectionFactory, redisConnectionFactory, service, service, service, service, serviceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdataSource, dataSource, dataSource, dataSource, mongoDbFactory, mongoDbFactory, mongoDbFactory, mongoDbFactory, rabbitConnectionFactory, rabbitConnectionFactory, rabbitConnectionFactory, rabbitConnectionFactory, redisConnectionFactory, redisConnectionFactory, redisConnectionFactory, redisConnectionFactory, service, service, service, service, servicepublic PivotalCloudServiceConnectionFactory(CloudConnectorsConfig cloudConnectorsConfig, org.springframework.cloud.Cloud cloud)
public org.springframework.cloud.netflix.eureka.EurekaClientConfigBean eurekaClientConfig()
EurekaClientConfigBean object associated with the only Eureka service bound to the app.eurekaClientConfig in interface PivotalServiceConnectionFactoryorg.springframework.cloud.CloudException - if there are either 0 or more than 1 Eureka services.public org.springframework.cloud.netflix.eureka.EurekaClientConfigBean eurekaClientConfig(String serviceId)
EurekaClientConfigBean object for the specified Eureka service.eurekaClientConfig in interface PivotalServiceConnectionFactoryserviceId - the name of the serviceorg.springframework.cloud.CloudException - if the specified service doesn't existpublic org.springframework.amqp.rabbit.connection.ConnectionFactory hystrixConnectionFactory()
ConnectionFactory object associated with the only Hystrix AMQP service bound to the app.hystrixConnectionFactory in interface PivotalServiceConnectionFactoryorg.springframework.cloud.CloudException - if there are either 0 or more than 1 Hystrix AMQP services.public org.springframework.amqp.rabbit.connection.ConnectionFactory hystrixConnectionFactory(org.springframework.cloud.service.messaging.RabbitConnectionFactoryConfig rabbitConnectionFactoryConfig)
ConnectionFactory object associated with the only Hystrix AMQP service bound to the app
configured as specified.hystrixConnectionFactory in interface PivotalServiceConnectionFactoryrabbitConnectionFactoryConfig - configuration for the RabbitMQ connection factory createdorg.springframework.cloud.CloudException - if there are either 0 or more than 1 Hystrix AMQP services.public org.springframework.amqp.rabbit.connection.ConnectionFactory hystrixConnectionFactory(String serviceId)
ConnectionFactory object for the specified Hystrix AMQP service.hystrixConnectionFactory in interface PivotalServiceConnectionFactoryserviceId - the name of the serviceorg.springframework.cloud.CloudException - if the specified service doesn't existpublic org.springframework.amqp.rabbit.connection.ConnectionFactory hystrixConnectionFactory(String serviceId, org.springframework.cloud.service.messaging.RabbitConnectionFactoryConfig rabbitConnectionFactoryConfig)
ConnectionFactory object for the specified Hystrix AMQP service configured as specified.hystrixConnectionFactory in interface PivotalServiceConnectionFactoryserviceId - the name of the servicerabbitConnectionFactoryConfig - configuration for the ConnectionFactory createdorg.springframework.cloud.CloudException - if the specified service doesn't exist