Version 0.6.3 of ElasticMQ has only one major change – it is built with Scala 2.10. That meant two code changes:
- Using Typesafe’s Scala Logging instead of slf4s
- Using Typesafe’s Config instead of Ostrich for stand-alone server
The second change is the only one visible to the user. The type-safe configuration that was made possible by Ostrich is great, but it doesn’t look as if a 2.10-compatible version is coming soon. Typesafe Config uses more traditional configuration files, with reasonable amount of verification (though it’s a bit funny that migrating to Typesafe’s library causes the config to stop being type-safe ;) ). Also, a good side of the change is that the server always starts up quickly – no need to compile the config file. Locally on my laptop start up takes about 0.5 seconds.
As always, the new release should be available in Maven Central soon, and links to download the standalone server packages can be found on the main page.
I also updated the example Scala macros project, and deployed it to our repositories. If you don’t want to copy the code, you can now use the debug macro by adding:
1 2 3
resolvers += "SoftwareMill Snapshots" at "https://nexus.softwaremill.com/content/repositories/snapshots/" libraryDependencies += "com.softwaremill.scalamacrodebug" %% "macros" % "0.0.1-SNAPSHOT"