Skip to content

Match pika implementation of URI parsing. #78

Closed
@bwarren2

Description

@bwarren2

As detailed here, there is a difference in how this library and pika interpret the same URI. The pika solution seems cleaner, and I wanted to check for interest in my forming a pull request.

If the URI is

CLOUDAMQP_URL=amqp://guest:guest@localhost:5672/

and the connection is established with

factory.setUri(System.getenv("CLOUDAMQP_URL"));

As things stand, this results in a vhost of "" and a connection error in a default rabbitmq setup (which has a default vhost of /). Is there interest in a pull request to return a vhost of / instead of "", to make the default behavior match the default rabbitmq setup?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions