#2005 - Putting the required fields into RemoteTransport and took the opportunity to clean up use of ActorSystemImpl
This commit is contained in:
parent
7cc4c03018
commit
5f2b23c0c8
5 changed files with 16 additions and 16 deletions
|
|
@ -58,7 +58,7 @@ abstract class RemoteClient private[akka] (
|
|||
* Converts the message to the wireprotocol and sends the message across the wire
|
||||
*/
|
||||
def send(message: Any, senderOption: Option[ActorRef], recipient: ActorRef): Unit = if (isRunning) {
|
||||
if (netty.remoteSettings.LogSend) log.debug("Sending message {} from {} to {}", message, senderOption, recipient)
|
||||
if (netty.provider.remoteSettings.LogSend) log.debug("Sending message {} from {} to {}", message, senderOption, recipient)
|
||||
send((message, senderOption, recipient))
|
||||
} else {
|
||||
val exception = new RemoteClientException("RemoteModule client is not running, make sure you have invoked 'RemoteClient.connect()' before using it.", netty, remoteAddress)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue