The following example serves to illustrate this:

    Defining Headers via Configuration

    Defining Headers via Configuration

    The above example defines a annotation on the interface that reads a property using property placeholder configuration called .

    Configuring Headers in YAML

    Alternatively you can supply a environment variable and the value will be populated.