# Facing Issue while creating custom exchange and queue names using rabbitmq river plugin

**URL:** <https://discuss.elastic.co/t/facing-issue-while-creating-custom-exchange-and-queue-names-using-rabbitmq-river-plugin/10773>\
**Category:** Elasticsearch\
**Created:** [February 18, 2013, 12:06pm UTC](https://discuss.elastic.co/t/facing-issue-while-creating-custom-exchange-and-queue-names-using-rabbitmq-river-plugin/10773 "2013-02-18T12:06:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![C\_K\_R\_VIJAY\_Krishna](https://avatars.discourse-cdn.com/v4/letter/c/9fc29f/32.png) [@C\_K\_R\_VIJAY\_Krishna](https://discuss.elastic.co/u/C_K_R_VIJAY_Krishna)\
**Post date:** [February 18, 2013, 12:06pm UTC](https://discuss.elastic.co/t/facing-issue-while-creating-custom-exchange-and-queue-names-using-rabbitmq-river-plugin/10773/1 "2013-02-18T12:06:18Z")

</div>

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](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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![drewr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drewr/32/7803_2.png) [@drewr](https://discuss.elastic.co/u/drewr)\
**Post date:** [February 18, 2013, 3:06pm UTC](https://discuss.elastic.co/t/facing-issue-while-creating-custom-exchange-and-queue-names-using-rabbitmq-river-plugin/10773/2 "2013-02-18T15:06:49Z")

</div>

C.K.R.VIJAY Krishna wrote:

> Hi,

Vijay, please stop creating new topics asking the same question. I  
have responded to your message from hours ago. Let's continue on  
that thread. Thanks!

-Drew

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:50am UTC](https://discuss.elastic.co/t/facing-issue-while-creating-custom-exchange-and-queue-names-using-rabbitmq-river-plugin/10773/3 "2017-07-06T02:50:56Z")

</div>


