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

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -