Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

java-cfenv-boot RabbitMQ support on IBM Cloud

Open
#69 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
52/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
java, rabbitmq, spring-boot
Domain
backend, cloud

Research direction

Start at the java-cfenv-boot RabbitMQ configuration path and compare its service recognition with the supplied VCAP JSON, especially the messages-for-rabbitmq label and certificate fields. Verify what configuration is produced for the IBM Cloud binding and whether the mandatory client certificate is represented. Done means the IBM Cloud RabbitMQ binding is recognized and its SSL connection details are usable, with coverage for this VCAP shape.

Written by the indexing model from the issue text.

Description

documentation

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:

{
    "messages-for-rabbitmq": [
        {
            "label": "messages-for-rabbitmq",
            "provider": null,
            "plan": "standard",
            "name": "RabbitMQ",
            "tags": [
                "data_management",
                "ibm_created",
                "rc_compatible",
                "ibmcloud-alias"
            ],
            "instance_name": "RabbitMQ",
            "binding_name": null,
            "credentials": {
                "connection": {
                    "amqps": {
                        "authentication": {
                            "method": "direct",
                            "password": "xxxxx",
                            "username": "xxxx"
                        },
                        "certificate": {
                            "certificate_base64": "xxxxx",
                            "name": "45dc1d70-521a-11e9-8c84-xxxx"
                        },
                        "composed": [
                            "amqps://ibm_user:[email protected]:30301"
                        ],
                        "hosts": [
                            {
                                "hostname": "xxxxx.xxxxxxxxx.databases.appdomain.cloud",
                                "port": 30301
                            }
                        ],
                        "path": "",
                        "query_options": {},
                        "scheme": "amqps",
                        "type": "uri"
                    },
                    "cli": {
                        "arguments": [
                            [
                                "--username=ibm_user",
                                "--password=xxxxxx",
                                "--ssl",
                                "--ssl-ca-cert-file=xxxxxxx",
                                "--host=xxxxxxx.databases.appdomain.cloud",
                                "--port=32689"
                            ]
                        ],
                        "bin": "rabbitmqadmin",
                        "certificate": {
                            "certificate_base64": "xxxxxxx",
                            "name": "xxxxxxx"
                        },
                        "composed": [
                            "rabbitmqadmin --username=ibm_user --password=xxxxxx --ssl --ssl-ca-cert-file=xxxxxxx --host=xxxxxxx.databases.appdomain.cloud --port=32689"
                        ],
                        "environment": {},
                        "type": "cli"
                    },
                    "https": {
                        "authentication": {
                            "method": "direct",
                            "password": "xxxxxx",
                            "username": "ibm_user"
                        },
                        "browser_accessible": true,
                        "certificate": {
                            "certificate_base64": "xxxxxxx",
                            "name": "xxxxxxx"
                        },
                        "composed": [
                            "https://ibm_user:[email protected]:32689"
                        ],
                        "hosts": [
                            {
                                "hostname": "xxxxxxx.databases.appdomain.cloud",
                                "port": 32689
                            }
                        ],
                        "path": "",
                        "query_options": {},
                        "scheme": "https",
                        "type": "uri"
                    },
                    "stomp_ssl": {
                        "authentication": {
                            "method": "direct",
                            "password": "xxxxxx",
                            "username": "ibm_user"
                        },
                        "certificate": {
                            "certificate_base64": "xxxxxxx",
                            "name": "xxxxxxx"
                        },
                        "composed": [
                            "--username=ibm_user --password=xxxxxx --ssl=true --host=xxxxxxx.databases.appdomain.cloud --port=32333"
                        ],
                        "hosts": [
                            {
                                "hostname": "xxxxxxx.databases.appdomain.cloud",
                                "port": 32333
                            }
                        ],
                        "ssl": true,
                        "type": "stomp"
                    }
                },
                "instance_administration_api": {
                    "deployment_id": "crn:v1:bluemix:public:messages-for-rabbitmq:eu-de:a/xxxx:xxxx::",
                    "instance_id": "crn:v1:bluemix:public:messages-for-rabbitmq:eu-de:a/xxxxx:xxxx::",
                    "root": "https://api.eu-de.databases.cloud.ibm.com/v4/ibm"
                }
            },
            "syslog_drain_url": null,
            "volume_mounts": []
        }
    ]
}

Thank you and best regards
Rainer Krüger

Dominant language
Java
Stars
97
Forks
64
Avg merge
10h 45m
Merged PRs (30d)
8

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pivotal-cf/java-cfenv

All issues in pivotal-cf/java-cfenv

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.