Examples of how to use Apache River can be found in the Apache River Examples project, which you can download from the following page. http://river.apache.org/downloads.html