Annotation Interface ExchangeProperty


@Retention(RUNTIME) @Documented @Target(PARAMETER) public @interface ExchangeProperty
Marks a method parameter as a named exchange property when Camel performs bean binding.

Exchange properties are key-value pairs stored on the Exchange (not on the Message), surviving across multiple processing steps for the lifetime of the exchange. They are typically used for internal routing state and correlation data. The value() attribute names the property to inject; the value is converted to the declared parameter type via the TypeConverter infrastructure.

See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of the property
  • Element Details

    • value

      String value
      Name of the property