Configuring ProducerTemplate - 7.1

Talend Real-time Big Data Platform Studio User Guide

Talend Real-Time Big Data Platform
Talend Studio
Design and Development

About this task

You can create ProducerTemplate to send message exchanges to endpoints using Java code. To do so:


  1. In the test case design workspace, right click the blank area and select Config ProducerTemplate in the context menu.
  2. The Config ProducerTemplate wizard opens. In the Code area, type in the Java code to implement the message exchange.
    You can click the Sample Code... button to see some examples. For more information about ProducerTemplate, you can click the ProducerTemplate link on the wizard to go to the Apache online documentation on ProducerTemplate.