tree: a46cd528a9037e331b78cc07822dbfc532e8ea3a [path history] [tgz]
  1. Cat.java
  2. Counter.java
  3. CountRandomly.java
  4. Delegates.java
  5. Echo.java
  6. EchoInputStreamWrapper.java
  7. GlobalLogger.java
  8. GoodbyeWorld.java
  9. HelloWorld.java
  10. ReactorLogger.java
  11. README.md
  12. Recv.java
  13. Scheduling.java
  14. Send.java
  15. Unhandled.java
examples/java/reactor/src/main/java/org/apache/qpid/proton/example/reactor/README.md

The examples in this directory provide a basic introduction to the proton reactor API and are best viewed in the order presented below.

The examples contain comments that explain things in a tutorial-style manner. At some point soon this content will be pulled out into a proper tutorial that references the relevant code snippets from these examples. Until then please bear with this clumsy style of presentation.

This API is present in Java and Python as well. Most of these examples will transliterate into C in a fairly straightforward way.

  • HelloWorld.java

  • GoodbyeWorld.java

  • Scheduling.java

  • Counter.java

  • CountRandomly.java

  • Unhandled.java

  • ReactorLogger.java

  • GlobalLogger.java

  • Delegates.java

  • Handlers.java

  • Echo.java

  • Cat.java

  • Send.java

  • Recv.java