Code examples for using Akka from JRuby
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
vendor/akka
.gitignore
README.md
enqueue-urls.rb
example-1.rb
example-2.rb
example-3.rb

README.md

Using the Akka Actor Framework from JRuby

These 3 examples demonstrate how to use the Akka actor framework from JRuby.

  1. Spawning a simple actor and sending it messages
  2. Spawning several thread based actors and fetching urls
  3. Spawning actors that will consume messages from a rabbitmq server and fetch urls

To run the last example you must have a local rabbitmq server running. Use the enqueue-urls.rb script to send messages to the actors.