Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Specify default VirtualHost on the command line #1

Open
Matthew-Davey opened this issue Mar 14, 2016 · 0 comments
Open

Specify default VirtualHost on the command line #1

Matthew-Davey opened this issue Mar 14, 2016 · 0 comments

Comments

@Matthew-Davey
Copy link
Owner

When using a virtual host other than default ('/'), it needs to be specified for most operations eg.

Declare.Exchange("myExchange")
       .OnVirtualHost("NotDefault")

Declare.Queue("myQueue")
       .OnVirtualHost("NotDefault")

It would be good if we could override the default VirtualHost on the command line eg.

EasyNetQ.Migrations.Runner.exe -hostUrl localhost -username guest -password guest -vhost NotDefault MyProject.RabbitMigrations.dll
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant