Open Rainer-krueger opened 5 years ago
The current support for Rabbit is based on the format of VCAP_SERVICES
that is created when using https://docs.pivotal.io/rabbitmq-cf/1-17/ tile from Pivotal. Unfortunately, there is no standard schema that defines how the credentials should be populated. The accept
method is looking for tags relating to the Pivotal tile. To support the IBM tile you would have to create your own CfEnvProcessor
that would work for the set of tags/credentails that IBM creates. I don't think that I could reliably implement such a class but would very much welcome a contribution.
@Rainer-krueger See the following processor [1] and example [2].
Thanks for bringing this up and please let me know if you have feedback.
[1] https://github.com/IBM/ibmcloud-cfenv-processors/tree/master/processors/amqp-cfenv-processor [2] https://github.com/IBM/ibmcloud-cfenv-processors/tree/master/samples/amqp-mongo-kafka
I am trying to use this lib on IBM Cloud for a Spring Boot/Cloud App but the RabbitMQ Config is not recognized. IBM Cloud use "messages-for-rabbitmq" as VCAP Label. It's use also a mandatory client SSL Certificate that I guess ist not supported in java-cfenv-boot.
Here is my VCAP Json:
Thank you and best regards Rainer Krüger