In this scenario, you only need to configure the cSetHeader component to call the predefined Java Bean, and
keep the settings of all the other components are they are in the previous scenario.
Procedure
Double-click the cSetHeader component to
display its Basic settings view in the
Component tab.
Select Bean from the Language list box, and in the Value field, specify the Java Bean that will return the
endpoint URIs. In this use case, type in:
beans.setEndpoints
Press Ctrl+S to save your Route.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!