SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Create an Application for Producing Messages

Develop and deploy a basic Node.js-based messaging application for sending messages to an SAP Event Mesh Queue.

Overview

🎓 beginner 20 min. SAP Event MeshBeginnerNode JsSAP Business Technology Platform

You will learn

  • โœ”How to create a basic messaging client application for sending messages to a queue
  • โœ”How to deploy this application to the SAP Business Technology Platform and test it
Unknown U Unknown November 1, 2022
Created by August 5, 2019
Contributors

Prerequisites

Steps

Step 1 Install Node.js
โ€”

  1. Install Node.js and configure it locally.

  2. Add the dependency in applications package.json and run npm for it:

    npm install

  3. Create a directory that holds the files for your application - name it for example Producer. Into this directory we will create three files:

    • The manifest.yml is the deployment descriptor and contains all required information to deploy an application to a SAP Business Technology Platform Cloud Foundry instance.

    • The package.json specifies the version of a package that your app depends on.

    • The application file obviously holds the executable code.

Now create these files following the descriptions below into the created directory.

Step 2 Create manifest.yml file
+
Step 3 Create package.json file
+
Step 4 Create producer.js file
+
Step 5 Deploy application
+
Step 6 Test your application
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 6
1. Install Node.js 2. Create manifest.yml file 3. Create package.json file 4. Create producer.js file 5. Deploy application 6. Test your application

Learn more →