Closed philross88 closed 4 years ago
Hello, @philross88
Thank you for opening an issue here.
The idea is pretty straightforward: it mostly follows the AMQP URI specification, except the part for arguments with the "?" and the "&" symbols like in HTTP.
So, in the application you will need to specify the URI with credentials in the amqp://username:password@host:port/vhost
format, where:
username
is the used login to AMQP nodepassword
is the password, as expectshost
is the IP address or the shortcut to the location of the AMQP node (i.e. localhost
)port
is the port the AMQP node which is listening by the servervhost
is the name of the virtual host for your AMQP nodeThanks but I keep getting "could not pass AMQP URL" I am following the right syntax.
In general, this application uses URLParameters class, which is the part of the pika.connection module. For more details about Pika's URLs, you can also read in the official documentation, here. Make sure that you are typing the schema that requested by Pika library, in the format that the URLParameters
class requires.
By the way, can you provide the example of URL string, that you're using and specifying for connecting to AMQP node?
Closing the issue due the long author's inactivity.
How do you pass the credentials to connect to the queue?