Warning
This component is available only to users of Talend Studio with ESB.
Component family |
ESB/REST |
|
Function |
tRestResponse sends HTTP and/or NoteTo enable the HTTPS support, you have to generate a keystore |
|
Purpose |
This component allows you to return a specific HTTP status code to |
|
Basic settings | Return Body Type | Select a response body type from Document, String, and Byte[] in the list. |
Return status code |
Select a status code from the list to indicate the request – <<Custom>>: This option – Bad Request (400): The request – Internal Server Error (500): – OK (200): The request was – Resource Not Found (404): The |
|
Schema and Edit schema |
A schema is a row description, that is, it defines the number of The schema mode is Built-in: it Click Edit schema to make changes The input flow is retrieved from the previous component connected The output flow of tRESTResponse is a hard-coded field named body, the type of which is defined in the |
|
Advanced settings |
Response Headers |
Type in the name-value pair(s) to pass additional information |
Drop JSON Response Root |
Select this check box to drop the root JSON element in the |
|
tStatCatcher Statistics |
Select this check box to gather the Job processing metadata at a |
|
Global Variables |
NB_LINE: the number of rows processed. This is an After ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see Talend Studio |
|
Usage |
This component covers the possibility that a Talend Job can be The tRESTResponse component |
|
Limitation |
n/a |
For a scenario in which tRESTResponse is used, see
Scenario 1: REST service accepting HTTP GET requests and sending responses.