Versions Compared

Key

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

...

You can also supply an Exchange or a Processor to customize the exchange

request*() methods

The send*() methods use the default Message Exchange Pattern (InOnly, InOut etc) as the endpoint. If you want to explicitly perform a request/response (InOut) you can use the request*() methods instead of the send*() methods.

e.g. lets invoke an endpoint and get the response

Code Block

Object response = template.requestBody("<hello/>");