Message Gateway Configuration
Last updated
Was this helpful?
Last updated
Was this helpful?
Step 1: Clone the message-gateway source code into your local machine from GitHub.
On Windows
On Ubuntu:
Step 2: Open the source code directory on your local machine. Now, open Git Bash in this folder (through the right-click context menu).
On Windows:
On Ubuntu:
Simple change your current directory to the message-gateway directory by entering the following command:
Step 1: Next, we need to generate the .war file. This can be achieved by using the commands mentioned below:
On Windows:
On Ubuntu:
Step 2: Create a database with the name `messagegateway`.
Step 3: Open the message-gateway source directory and navigate to build >> libs. Copy the message-gateway-0.0.1.war file.
On Windows:
On Ubuntu:
Step 4: Navigate to Tomcat >> webapps and paste the message-gateway-0.0.1.war file into this directory.
On Windows:
On Ubuntu:
On Windows:
Navigate to Tomcat >> Bin directory and double click on startup.bat to start the application.
On Ubuntu:
Now navigate to the Tomcat >> bin folder and execute the following command to start the application:
You can download the REST Client from this link:
Open the REST Client and perform the following steps:
When we fire this request, "tenant app key" is generated as a response. This is shown in the screenshot below:
Pass these HTTP headers in the REST client:
Header
Value
Fineract-Platform-TenantId
{Pass the same Tenant ID that you have set in the previous step}
Fineract-Tenant-App-Key
{Pass the same "Tenant app key" that is generated in the previous step}
Once headers are set, fire the HTTP request.
Pass the same HTTP headers that we passed in the last step.
Step 1: When you open the REST client set the URL as: . HTTP method should be set to "POST". Finally, in the HTTP request body pass the following data:
Step 2: In this step, set REST client URL as. HTTP Method should be set to "POST". In the HTTP request body, pass the following data:
Step 3: In this step, set REST client URL as . HTTP method should be "POST". In HTTP request body pass the following data: