spring - Elasticsearch camel end Point -
please let me know how create consumer elastic search endpoint using camel.consumer code
i want create custom elasticsearch consumer code producer available elasticsearchproducer. consumer throwing exception.i want create own consumer component consumer code throwing exception , not consuming thing.
public org.apache.camel.consumer createconsumer(org.apache.camel.processor processor) throws exception throws: exception
thanks in advance help... :-)
camel elasticsearch component not support consumer. how ever if query elasticsearch id, can follows
string json = template.requestbody("elasticsearch://local?operation=get_by_id&indexname=twitter&indextype=tweet", "id");
if requirement else, have create own component.
Comments
Post a Comment