Added durable and auto-delete to AMQP
This commit is contained in:
parent
1f3a38228b
commit
48dff08848
3 changed files with 46 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue