= #17342 Make 2.4 binary compatible with 2.3
(cherry picked from commit89af8bdb90) * remove final identifier in serializers i* revert/deprecate ProtobufSerializer.ARRAY_OF_BYTE_ARRAY * adding back compatible empty constructor in serializers * make FSM.State compatible * add back ActorPath.ElementRegex * revert SocketOption changes and add SocketOptionV2 seea6d3704ef6* problem filter for ActorSystem and ActorPath * problem filter for ByteString * problem filter for deprecated Timeout methods * BalancingPool companion * ask * problem filter for ActorDSL * event bus * exclude hasSubscriptions * exclude some problems in testkit * boundAddress and addressFromSocketAddress * Pool nrOfInstances * PromiseActorRef * check with 2.3.9 * migration guide note * explicit exclude of final class problems
This commit is contained in:
parent
412491d277
commit
b30e460be7
50 changed files with 1037 additions and 202 deletions
|
|
@ -121,12 +121,12 @@ object EventBusDocSpec {
|
|||
|
||||
//#actor-bus
|
||||
import akka.event.ActorEventBus
|
||||
import akka.event.ActorClassification
|
||||
import akka.event.ManagedActorClassification
|
||||
import akka.event.ActorClassifier
|
||||
|
||||
final case class Notification(ref: ActorRef, id: Int)
|
||||
|
||||
class ActorBusImpl(val system: ActorSystem) extends ActorEventBus with ActorClassifier with ActorClassification {
|
||||
class ActorBusImpl(val system: ActorSystem) extends ActorEventBus with ActorClassifier with ManagedActorClassification {
|
||||
type Event = Notification
|
||||
|
||||
// is used for extracting the classifier from the incoming events
|
||||
|
|
@ -179,7 +179,7 @@ class EventBusDocSpec extends AkkaSpec {
|
|||
//#scanning-bus-test
|
||||
}
|
||||
|
||||
"demonstrate ActorClassification" in {
|
||||
"demonstrate ManagedActorClassification" in {
|
||||
//#actor-bus-test
|
||||
val observer1 = TestProbe().ref
|
||||
val observer2 = TestProbe().ref
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue