Once created, you can use the Beans in the Mediation components. To do so, go to the Component view of the relevant component to define its properties:
For some components (for example cBean, cDynamicRouter, etc.), you can directly call Beans:
In the Beans class field of those components, type in beans.BEAN_NAME.class for global Beans or
packageName.BEAN_NAME.classfor custom Bean Jars. The corresponding bean will be called.
Note that custom Bean Jar is only available if you have installed the R2021-03 Studio monthly update or a later one provided by Talend.
If the Bean called has more than one method, you can specify which method you want to call by selecting the Specify the method check box and typing its name in the field displaying.
For some components (for example cAggregate, cMulticast, etc.), you can call Beans as an aggregation strategy:
Select the Use aggregation strategy check box.
In the Strategy field, type in the name of the Bean without any prefix or extension.
For more information on how to create Routes, see Creating a Route.
For more information on the properties and usage of the Mediation components, see Talend ESB Mediation Components documentation in Talend Help Center .