THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
A client would simply need to pass a body message containing a Map to the route. The result body contains the indexId created.
Code Block | ||||
---|---|---|---|---|
| ||||
HashMap<StringMap<String, String> map = new HashMap<String, String>(); map.put("content", "test"); String indexId = (String) template.requestBody("direct:index", map, String.class); |
For more information, see these resources
...