Skip to content

Commit

Permalink
also add configurability section to eclipse example
Browse files Browse the repository at this point in the history
  • Loading branch information
rkuhn committed Feb 6, 2012
1 parent 809000f commit 15fa414
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions akka-docs/intro/getting-started-first-scala-eclipse.rst
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,18 @@ arguments to the JVM on the ``Arguments`` page, for instance to define where :re
Once you finished your run configuration, click ``Run``. You should see the same output in the ``Console`` window.
You can use the same configuration for debugging the application, by choosing ``Run/Debug History`` or just ``Debug As``.

Overriding Configuration Externally
-----------------------------------

The sample project includes an ``application.conf`` file in the resources directory:

.. includecode:: ../../akka-tutorials/akka-tutorial-first/src/main/resources/application.conf

If you uncomment the two lines, you should see a change in performance,
hopefully for the better. It should be noted that overriding only works if a
router type is given, so just uncommenting ``nr-of-instances`` does not work;
see :ref:`routing-java` for more details.

Conclusion
----------

Expand Down

0 comments on commit 15fa414

Please sign in to comment.