Mulesoft 4.0 BETA (File to File Transfers)

ICYMI: The new feature invoked in 4.0 BETA version for File Connector is quite different and enhanced as compared to the File Connector used in earlier versions of Anypoint Studio.

Step 1: Create a New Mule Project as Shown Namely as File2File

* Drag and drop an HTTP listener Connector to get a request for your servers and give the host and port numbers. Here, the host is set to: mule4.eaiesb.com and port to 8087 and test your connection to check if the port is in use or not and test it successfully.
* Set the path to: /File2File and set a successful response message. Here, setting File Transferred Successfully.
* By default, Mule 4.0 do not have File Module so use Palette to add it.

Step 2: Click on Add Module and Select File to Add Extension 

* Earlier Mule version has only one file connector which can be used for both inbound and outbound operations based on its position but new version supports different operations as shown : https://goo.gl/CtPnu9 #DataIntegration #ML

Constructing Dynamic Endpoint URLs in WSO2 ESB

There are situations where you need to modify or generate endpoint URL dynamically in runtime. It can be entire endpoint URL, context of the URL, resource path of the URL, or query parameters.

This post will explain three different ways to construct a dynamic URL in ESB.

1. HTTP Endpoint

HTTP endpoint can be dynamically constructed using uri template. Create a properties name starting with uri.var prefix and define the uri template to refer those created properties e.g if the property name is uri.var.context, then uri template cane be defined as: http:://localhost/{uri.var.context}. In the runtime, these place holders in the uri templates will be populated by the values in the property related to that. https://goo.gl/zBkqgK #DataIntegration #ML