Got it working now. Re read the documentation and found that we have to send List<Map<String, String>> for bulk index and Map<String, String> for single index. For single index automatically the request was getting converted to Map.
-- View this message in context: http://camel.465427.n5.nabble.com/Camel-elasticsearch-bulk-api-not-working-tp5767177p5767206.html Sent from the Camel - Users mailing list archive at Nabble.com.
