WSO2 Script Mediator Explained | Real-Time API Request & Response Transformation
π In this video, we dive deep into the WSO2 Script Mediator and learn how to transform API requests and responses in real-time using scripting languages like JavaScript & Groovy. Whether youβre a beginner or an advanced WSO2 developer, this step-by-step tutorial will help you master Script Mediator and apply it to real-world API integration use cases. πΉ What Youβll Learn: How to create API XML files in WSO2 EI Requirement analysis for Script Mediator Configure Script Mediator with real examples Add Payload Mediator & Log Mediator (step by step) Deploy CAR file in WSO2 Enterprise Integrator End-to-End testing of API flow π‘ Perfect for developers, architects, and integration enthusiasts who want to level up their WSO2 ESB / EI skills and build smarter API solutions. π₯ Chapters: 00:01 β Introduction of Script Mediator API 00:07 β Create API XML File 00:37 β Requirement Analysis 02:24 β Modify Resource Method Type 02:37 β Configure & Explain Script Mediator Overview 03:20 β Configure & Explain Payload Mediator (Step by Step) 05:43 β Configure Log Mediator & Modify Log Level 06:02 β Add Respond Mediator 06:18 β Create CAR File for Deployment 06:52 β Deploy New CAR File in WSO2 EI UI 07:40 β Test End-to-End Flow Script Mediator Body - // Get payload as JSON var payload = mc.getPayloadJSON(); // Add/modify a value payload.message = "Processed"; // Set modified payload back mc.setPayloadJSON(payload); π Useful Resources GitHub Source Code: π https://github.com/NarayanaBehera WSO2 Automation Playlist: βΆοΈ https://www.youtube.com/watch?v=0ybWSyzojCU&list=PL5Gz0w1wYE8kKoldZzAn6pAmuDyRcDKlb Python Apache Airflow Automation Playlist: βΆοΈ https://www.youtube.com/watch?v=ydxcAM2sKrc&list=PL5Gz0w1wYE8kEXkPHuw6_xjsUdSmYOXMP π¬ Contact & Collaboration π§ Email: [email protected] πΌ LinkedIn: https://www.linkedin.com/in/narayana-behera-413659132/ π GitHub: github.com/NarayanaBehera π£ Donβt Forget π Like | π Subscribe | π¬ Comment | π Share π― What Youβll Find Here: β Step-by-step tutorials β Technology deep dives & guides β Myth-busting & fact-checking β Motivational insights & productivity hacks β Explanations beyond the obvious π¬ Why Subscribe? Because we show you the facts β no hype, no confusion β just solid, actionable knowledge you can trust. π― Consistent uploads π― Clear, step-by-step guides π― A supportive learning community
Download
0 formatsNo download links available.