Echo Component in Mule
Here we are using Echo component in mule 3 in Anypoint studio 6.2
Echo component logs the incoming message and returns the payload as result.
Below is the basic flow having echo component.
HTTP Listener Configuration :
path : /testecho
No configuration is required in echo component. Just drag and drop it after HTTP Listener.
url : http://localhost:8085/api/testecho
method : POST
Input message is : Hello Himanshu
Echo component prints incoming message on console and also send it in payload as shown below :
Postman output :
No comments:
Post a Comment