Skip to content

Instantly share code, notes, and snippets.

@mcamou
Created August 19, 2011 10:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcamou/1156559 to your computer and use it in GitHub Desktop.
Save mcamou/1156559 to your computer and use it in GitHub Desktop.
import akka.amqp._
import AMQP._
...
val connection = AMQP.newConnection(ConnectionParameters(host = Config.amqpHost,
port = Config.amqpPort,
virtualHost = Config.amqpVhost,
username = Config.amqpUser,
password = Config.amqpPasword,
connectionCallback = Some(connectionCallback)))
// Compilation error: parameter specified twice: username
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment