# Data from rabbitmq river not getting indexed

**URL:** <https://discuss.elastic.co/t/data-from-rabbitmq-river-not-getting-indexed/14348>\
**Category:** Elasticsearch\
**Created:** [November 11, 2013, 9:35am UTC](https://discuss.elastic.co/t/data-from-rabbitmq-river-not-getting-indexed/14348 "2013-11-11T09:35:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![siddhardha\_korada](https://avatars.discourse-cdn.com/v4/letter/s/b4bc9f/32.png) [@siddhardha\_korada](https://discuss.elastic.co/u/siddhardha_korada)\
**Post date:** [November 11, 2013, 9:35am UTC](https://discuss.elastic.co/t/data-from-rabbitmq-river-not-getting-indexed/14348/1 "2013-11-11T09:35:13Z")

</div>

Hi,

I am a newbie to Elasticsearch, RabbitMQ as well . Actually i'm trying to  
connect Elasticsearch and RabbitMQ using the river plugin  
([https://github.com/elasticsearch/elasticsearch-river-rabbitmq](https://github.com/elasticsearch/elasticsearch-river-rabbitmq)).  
I have binded exchange which elastic search is creating with the exchange  
which my application is creating , exchange type as \*fanout \* .  
when i am putting messages(which are in bulk api format) to the  
exchange(exchange created by the application) , messages are neither  
getting indexed in ES nor throwing some exception or error.  
when i am putting messages which are not in bulk api format elastic search  
is throwing : \*org.elasticsearch.ElasticSearchParseException: Failed to  
derive xcontent from org.elasticsearch.common.bytes.BytesArray@e1f1d071 \*

Can any one please help out, with any documentation or let me know where i  
have done wrong.

meta data for connecting to RabbitMQ river : {  
"type" : "rabbitmq",  
"rabbitmq" : {  
"host" : "localhost",  
"port" : 5672,  
"user" : "guest",  
"pass" : "guest",  
"vhost" : "/",  
"queue" : "elasticsearch",  
"exchange" : "elasticsearch",

```
    "exchange_declare" : true,
    "exchange_type" : "fanout",
    "exchange_durable" : true,
    "queue_declare" : true,
    "queue_bind" : true,
    "queue_durable" : true,
    "queue_auto_delete" : false,
    "heartbeat" : "30m"
},
"index" : {
    "bulk_size" : 100,
    "bulk_timeout" : "100ms",
    "ordered" : false
}

```

}

Please help!!!

--  
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:07am UTC](https://discuss.elastic.co/t/data-from-rabbitmq-river-not-getting-indexed/14348/2 "2017-07-06T02:07:53Z")

</div>


