Fixed issue with AMQP module
This commit is contained in:
parent
6d99341853
commit
d04f69a31c
2 changed files with 1 additions and 11 deletions
|
|
@ -93,7 +93,7 @@ object AMQP {
|
|||
|
||||
import scala.collection.JavaConversions._
|
||||
|
||||
private val supervisor = actorOf[AMQPSupervisorActor].start
|
||||
private val supervisor = actorOf(new AMQPSupervisorActor).start
|
||||
private val connections = new ConcurrentHashMap[ActorRef, ActorRef]
|
||||
|
||||
def newProducer(
|
||||
|
|
|
|||
|
|
@ -206,16 +206,6 @@ trait ActorRef extends TransactionManagement {
|
|||
*/
|
||||
protected[akka] val dispatcherLock = new ReentrantLock
|
||||
|
||||
/**
|
||||
* Holds the reference to the sender of the currently processed message.
|
||||
* - Is None if no sender was specified
|
||||
* - Is Some(Left(Actor)) if sender is an actor
|
||||
* - Is Some(Right(CompletableFuture)) if sender is holding on to a Future for the result
|
||||
*/
|
||||
// protected[this] var _replyTo: Option[Either[ActorRef, CompletableFuture[Any]]] = None
|
||||
// protected[akka] def replyTo: Option[Either[ActorRef, CompletableFuture[Any]]] = guard.withGuard { _replyTo }
|
||||
// protected[akka] def replyTo_=(rt: Option[Either[ActorRef, CompletableFuture[Any]]]) = guard.withGuard { _replyTo = rt }
|
||||
|
||||
protected[akka] var _sender: Option[ActorRef] = None
|
||||
protected[akka] var _senderFuture: Option[CompletableFuture[Any]] = None
|
||||
protected[akka] def sender_=(s: Option[ActorRef]) = guard.withGuard { _sender = s}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue