Skip to content

Need to bind multiple rabbitmq and/or mysql services to JVM #87

@MrMarkW

Description

@MrMarkW

I'm in PCF using SCS 3.1 with the following dependencies:

  • io.pivotal.spring.cloud:spring-cloud-services-starter-config-client:3.1.1.RELEASE
    • io.pivotal.cfenv:java-cfenv-boot-pivotal-scs:2.1.1.RELEASE
      • io.pivotal.cfenv:java-cfenv-boot:2.1.1.RELEASE

CfEnvironmentPostProcessor doesn't allow multiple Rabbitmq service instances to be bound to a single application.

I'm looking for a way to override or disable CfEnvironmentPostProcessor for our rabbitmq and mysql bindings since we need to support multiple rabbitmq clusters and mysql instances in a single JVM. I would be fine adding my own custom PostProcessor to handle these situations, but I haven't seen a clear example of how to override or disable what is set in the META-INF/spring.factories

Is the better option to use try spring-cloud/spring-cloud-connectors 2.x instead? We are new to the PCF and would prefer to build upon the new models.

Any help would be much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions