Platforms to show: All Mac Windows Linux Cross-Platform
Back to RabbitMQConnectionInfoMBS class.
RabbitMQConnectionInfoMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | RabbitMQ | MBS RabbitMQ Plugin | 21.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Sets default values for properties.
The default values are:
- user: "guest"
- password: "guest"
- host: "localhost"
- vhost: "/"
- port: 5672
See also:
RabbitMQConnectionInfoMBS.Constructor(URL as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | RabbitMQ | MBS RabbitMQ Plugin | 21.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
An amqp connection url takes the form:
amqp://[$USERNAME[:$PASSWORD]@]$HOST[:$PORT]/[$VHOST]
Examples:
amqp://guest:guest@localhost:5672//
amqp://guest:guest@localhost/myvhost
Any missing parts of the URL will be set to the defaults specified in other Constructor. For amqps: URLs the default port will be set to 5671 instead of 5672 for non-SSL URLs.
We raise UnsupportedOperationException if parsing failes.
See also:
RabbitMQConnectionInfoMBS.Destructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | RabbitMQ | MBS RabbitMQ Plugin | 21.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The items on this page are in the following plugins: MBS RabbitMQ Plugin.