Annotation Interface Variables


@Retention(RUNTIME) @Documented @Target(PARAMETER) public @interface Variables
Marks a method parameter as the entire variables map of the current Exchange when Camel performs bean binding.

The parameter type should be Map<String, Object> (or a compatible super-type). Unlike Variable, which injects a single named variable, @Variables gives the method direct access to all variables at once.

Since:
4.4
See Also: