Annotation Interface Body


Marks a method parameter as the payload of the inbound Message when Camel performs bean binding.

When a bean method is invoked via the Bean EIP or Consume, Camel maps the exchange to the method parameters. A parameter annotated with @Body receives Message.getBody(), optionally converted to the declared parameter type via the TypeConverter infrastructure.

See Also: