How to create RabbitMq River using java api?

Hi

I'm newbie for elastic search.i want to create index using Rabbitmq river using java.I had go through http://www.elasticsearch.org/guide/reference/river/rabbitmq.html but it does not give any information regarding which class or method will be helpful to create Rabbitmq river.please provide details description of how to use Rabbitmq river index creator class and also if u know any document regarding for it.

Thanks