-
Notifications
You must be signed in to change notification settings - Fork 23
Connect
derekgreer edited this page Jun 1, 2012
·
3 revisions
RabbitBus provides two methods for establishing a connection to a RabbitMQ server instance:
-
Connect()
Connects to the default virtual host on localhost using user Id: guest, password: guest.
-
Connect(string amqpUri)
Connects to the RabbitMQ instance designated by a properly formatted AMQP URI. The the following is an example usage which is equivalent to calling
Connect()
:bus.Connect("amqp://guest:guest@localhost:5672/%2f");