Added durable and auto-delete to AMQP

This commit is contained in:
Jonas Bonér 2009-12-25 11:37:43 +01:00
parent 1f3a38228b
commit 48dff08848
3 changed files with 46 additions and 14 deletions

View file

@ -98,8 +98,7 @@ class PubSub extends Actor {
* Or browse to the URL from a web browser.
*/
@Path("/persistentscalacount")
class PersistentSimpleService extends Actor {
makeTransactionRequired
class PersistentSimpleService extends Transactor {
case object Tick
private val KEY = "COUNTER"
@ -125,7 +124,7 @@ class PersistentSimpleService extends Actor {
}
@Path("/chat")
class Chat extends Transactor {
class Chat extends Actor {
case class Chat(val who: String, val what: String, val msg: String)
@Suspend