Facing Issue while creating custom exchange name and queue name using rabbitmq -river plugin

Hi,
I am new to Elastic search.For past two days I am exploring
rabbitmq-river plugin in elastic search.When I am trying to provide custom
exchange name,queue name,exchange type it is not accepting it is creating
with default exchange name,routing-key ,queue name and exchange
type(direct).Please find my below sample code :

curl -XPUT 'http://localhost:9200/_river/my_cdr/_meta' -d '{
"type" : "rabbitmq",
"rabbitmq" : {
"host" : "localhost",
"port" : 5672,
"user" : "guest",
"pass" : "guest",
"vhost" : "/",
"queue" : "vijaysearch",
"exchange" : "vijaysearch",
"routing_key" : "vijay.*",
"exchange_type" : "topic",
"exchange_durable" : false,
"queue_durable" : true,
"queue_auto_delete" : false
},
"index" : {
"bulk_size" : 1000,
"bulk_timeout" : "10ms",
"ordered" : false
}
}'

I need to connect to exchange which is already present in rabbitmq server
and consume messages,create indices from this exchange.Please help me.

Thanks & Regards,
Vijay.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.