Reactive
template
Vlad Filip
vlad.filip@dlr.de / 3739
13/09/16
component
Repository
Vlad Filip @ Heavens Above
13/09/16
reactive
│ README.md
│ .git
│
└───reactive-component-template
│ │ build.sbt
│ │ scalastyle-config.xml
│ │
│ └───reactive-messaging-layer
│ | │ ...
│ │
│ └───reactive-component
│ | │ ...
│ │
│ └───project
│ │ Dependencies.scala
│ │ Versions.scala
│ │ plugins.sbt
│ │ ...
...
http://bitbucket.ocs.office:7990/projects/MIPL/repos/reactive/
Structure
Vlad Filip @ Heavens Above
13/09/16
└───reactive-component-template
│ │ build.sbt
│ │ scalastyle-config.xml
│ │
│ └───reactive-messaging-layer
│ | │ ...
│ │
│ └───reactive-component
│ | │ ...
│ │
│ └───project
│ │ Dependencies.scala
│ │ Versions.scala
│ │ plugins.sbt
│ │ ...
...
Structure
Vlad Filip @ Heavens Above
13/09/16
└───reactive-component-template
│ │ build.sbt
│ │ scalastyle-config.xml
│ │
│ └───reactive-messaging-layer
│ | │ ...
│ │
│ └───reactive-component
│ | │ ...
│ │
│ └───project
│ │ Dependencies.scala
│ │ Versions.scala
│ │ plugins.sbt
│ │ ...
...
Where modules are created and dependencies are imported
Structure
Vlad Filip @ Heavens Above
13/09/16
└───reactive-component-template
│ │ build.sbt
│ │ scalastyle-config.xml
│ │
│ └───reactive-messaging-layer
│ | │ ...
│ │
│ └───reactive-component
│ | │ ...
│ │
│ └───project
│ │ Dependencies.scala
│ │ Versions.scala
│ │ plugins.sbt
│ │ ...
...
Where generic actors are together with the Json and Camel serializers.
Structure
Vlad Filip @ Heavens Above
13/09/16
└───reactive-component-template
│ │ build.sbt
│ │ scalastyle-config.xml
│ │
│ └───reactive-messaging-layer
│ | │ ...
│ │
│ └───reactive-component
│ | │ ...
│ │
│ └───project
│ │ Dependencies.scala
│ │ Versions.scala
│ │ plugins.sbt
│ │ ...
...
Application containing component logic and message layer management
Messaging
Vlad Filip @ Heavens Above
13/09/16
layer
akka
Mailbox
Actor
Isolated state
Messaging
Vlad Filip @ Heavens Above
13/09/16
layer
akka
Mailbox
Actor
Isolated state
AMQ-Queue
Messaging
Vlad Filip @ Heavens Above
13/09/16
layer
akka
Mailbox
Actor
Isolated state
AMQ-Queue
camel
+
Messaging
Vlad Filip @ Heavens Above
13/09/16
layer
akka
Mailbox
Actor
Isolated state
AMQ-Queue
camel
+
JVM
.NET
Messaging
Vlad Filip @ Heavens Above
13/09/16
layer
akka
Mailbox
Actor
Isolated state
AMQ-Queue
camel
+
JVM
.NET
ActiveMQ
+
Architecture
Vlad Filip @ Heavens Above
13/09/16
Logic + Model
FSM or Simple
In
In
In
Out
Out
Out
ActiveMQ connection
Priority
ActiveMQ connection
demo
Vlad Filip @ Heavens Above
13/09/16
time
IsPrime / Scala <-> .NET
reactive-atm / Scala <-> Scala
Questions ?
Vlad Filip @ Heavens Above
13/09/16
Thank you!
Vlad Filip @ Heavens Above
13/09/16
Reactive Component Template
By Vlad Filip
Reactive Component Template
- 813