Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
java
java
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

...