Shovel doesn't support vhost in AMQP 1.0 #13658
-
Describe the bugThe Shovel plugin does not support specifying a vhost when using the AMQP 1.0 protocol. Attempting to connect with a URI that includes a vhost (e.g.,
Reproduction steps
Expected behaviorIt should be possible to specify a vhost in the connection URI. Additional contextLooking at the source code [here](https://github.com/rabbitmq/rabbitmq-server/blob/main/deps/amqp10_client/src/amqp10_client.erl#L418), it seems the path can only be empty or a single Questions
Environment
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
From the docs:
This is nothing new and has been the case for as long as AMQP 1.0 Erlang client existed. Just like MQTT, AMQP 1.0 support before 4.0 used a convention to extract the virtual host from the username. |
Beta Was this translation helpful? Give feedback.
-
@twonky4 questions belong to discussions, not issues. RabbitMQ 3.13 is out of community support. |
Beta Was this translation helpful? Give feedback.
-
AMQP 1.0 shovels (
This has been the case since AMQP 1.0 support in shovels was introduced around 2020. |
Beta Was this translation helpful? Give feedback.
-
Two different options are proposed in #13661. |
Beta Was this translation helpful? Give feedback.
@twonky4 - so, use this URI:
Please report back!