Creating a Java class - 6.4

Apache CXF - Mediation

author
Talend Documentation Team
EnrichVersion
6.4
EnrichProdName
Talend Data Fabric
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Open Studio for ESB
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Apache CXF components (Mediation)
Data Quality and Preparation > Third-party systems > Apache CXF components (Mediation)
Design and Development > Third-party systems > Apache CXF components (Mediation)
EnrichPlatform
Talend Studio

Procedure

  1. From the repository tree view, expand the Code node and right click the Beans node. In the contextual menu, select Create Bean.
  2. The [New Bean] wizard opens. In the Name field, type in a name for the bean, for example, CXFdemobean. Click Finish to close the wizard.
  3. Change the class type to interface, change the return type to string and remove the message body.
    package beans;
    
    public interface CXFdemobean {
        public String helloExample(String message) ;
    }
  4. Press Ctrl+S to save your bean.