August 15, 2023

Creating a Java bean as the aggregation strategy – Docs for ESB 6.x

Creating a Java bean as the aggregation strategy

To aggregate the messages, we will use a Java bean that will help us build an
aggregation strategy.

  1. From the repository tree view, expand the Code node and right click the Beans node. In the contextual menu, select Create Bean.

    use_case_caggregate2.png

  2. The [New Bean] wizard opens. In the Name field, type in a name for the bean, for
    example, AggregateBody. Click Finish to close the wizard.

    use_case_caggregate3.png

  3. Type in the codes as shown in the figure below. In this use case, we just
    want to aggregate all messages into a single message.

  4. Press Ctrl+S to save your bean.

Document get from Talend https://help.talend.com
Thank you for watching.
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x