Reactive Architecture Patterns from NFJS Sessions
Java C# Shell
Switch branches/tags
Nothing to show
Latest commit 4a7f237 May 14, 2017 @wmr513 Simulate threshold exceed and outliers
Simulate threshold exceed and outliers
Failed to load latest commit information.
csharp Simulate threshold exceed and outliers May 14, 2017
scripts Used by Workflow Event Pattern Sep 17, 2016
src/main now detects threshold outliers May 14, 2017
.gitignore Introduce pom and gitignore. Sep 17, 2016
LICENSE Initial commit Apr 3, 2016
pom.xml Introduce pom and gitignore. Sep 17, 2016
selfhealing.pdf Self Healing Systems Diagram Oct 25, 2016


Reactive Architecture Patterns Examples

Java Instructions

To run these code samples you will need Java 1.7 or higher and RabbitMQ (3.5.4). I use the rabbitmq:latest docker image from Pivotal.

Be sure to go into and update the connection info for RabbitMQ: (you can get this info from the RabbitMQ logs or doing a "docker ps" if you are using the docker image)

public static Channel connect() throws Exception { ConnectionFactory factory = new ConnectionFactory();

--> factory.setHost("");

--> factory.setPort(32768);

Connection conn = factory.newConnection();	
return conn.createChannel();	


You will also need to be sure and run the AMQPInitialize class to setup all of the exchanges, queues, and bindings used by these examples.

If you want to run the scripts, you will need to set an environment variable REACT_HOME that points to the directory containing the src and lib directory where the class files and libraries are located.

.NET/C# Instructions

To run these examples you will need the latest RabbitMQ image (nuget, version 4.1.3 RabbitMQ Client). You can run RabbitMQ from a docker container (Pivotal latest is what I use) or natively.

Each directory under "reactive" should become a namespace for that context.

I created these examples using the latest .NET Core for MacOS Sierra using Visual Studio for the Mac.