SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →Starting point

SAP-samples/event-mesh-client-nodejs-samples

Node.js samples and documentation for SAP Event Mesh's AMQP 1.0 messaging client, from a basic send/receive pair to a full event simulator.

SAP Event Mesh's Node.js client ships as @sap/xb-msg-amqp-v100, and this repository is where its documentation and worked samples live: xb-msg-amqp-v100-doc documents the client and a server for AMQP 1.0, alongside a basic sample. xb-msg-amqp-v100-samples runs locally as plain Node.js, outside SAP BTP, with a consumer.js and producer.js pair configured from config/cf-sample-config.js. event-simulator goes further: an SAP BTP deployment that emits events as messages over SAP Event Mesh and logs what it consumes on the other end. It stops at these three; running any of them still needs an Event Mesh service instance on SAP BTP.

Facts

Last pushLicenceApache-2.0

Where it sits

Lives in
Demonstrates
Event MeshBTPEvent MeshcapabilityEmitting and consuming business events across systems through brokers, including subscriptions and mapping application events to broker topics. Work that must survive a request, including deferred processing and retries, belongs to [async processing](capability:async-processing).

Who is behind it

SAP SamplesSAP SamplesOrganisationMaintains this
In the atlas: maintains 222
@SAP-samples
maintainerademvuralPersonContributes to this
In the atlas: contributes to 2
@ademvural
Ajinkya PatilPersonContributes to this
In the atlas: contributes to 112
@ajinkyapatil8190
Brian BernardPersonContributes to this
In the atlas: contributes to 64
@btbernard
linastehlePersonContributes to this
In the atlas: contributes to 2
@linastehle
Michael BolzPersonContributes to this
In the atlas: contributes to 2
@mibo
5 contributors

What it declares

Every artifact

Type
Sample
Origin
By SAP

As a sample

Form
Code snippets

Connections1

SAP-samples/event-mesh-client-nodejs-samples connectionsSAP-samples/event-mesh-client-nodejs-samplesPROVIDES→ demonstrates1demonstrates authoredEvent Mesh

README

quoted from SAP-samples/event-mesh-client-nodejs-samples under Apache-2.0, read
SAP-samples/event-mesh-client-nodejs-samples/README.mdOn GitHub

Messaging Client Node.js - Samples for SAP Event Mesh

REUSE status

Note

The SAP Cloud Platform Enterprise Messaging service has been renamed to SAP Event Mesh - find more information in this blog article

Description

SAP Event Mesh provides a cloud-based messaging framework for the development of decoupled and resilient services and integration flows (using SAP Cloud Integration) to support asynchronous communication principles. Direct integration with SAP S/4HANA Business Event Handling allows efficient development of innovative and scaling extensions.

This repository provides documentation and samples of how to use the Messaging Client (Node.js) for messaging via SAP Event Mesh in the Cloud Foundry environment. Details on each sample application and the covered scenario are described in the table List of content and sample projects below.

For more details of SAP Event Mesh take a look at the Event Mesh - Messaging Clients landing page and SAP Event Mesh on SAP Help portal.

This repository provides samples of how to use the Messaging Client (Node.js) for messaging via SAP Event Mesh in the Cloud Foundry environment.

List of content and sample projects

Sample/ContentScenarioScenario Description
xb-msg-amqp-v100-docNode.js Messaging Client documentation (includes basic sample)Documentation and related samples which shows hot this library provides a messaging client as well as classes to realize a server for AMQP 1.0
xb-msg-amqp-v100-samplesBasic Messaging Sample which runs locallyThis sample demonstrates how each application (plain Node.js, non SAP BTP) can use the Event Mesh Client to send and receive messages via SAP Event Mesh. Therefore the messaging sample consists of a consumer.js and a producer.js which provides the corresponding functionality for send/receive (and the config/cf-sample-config.js to configure the sample)
event-simulatorEvent Simulator for SAP BTP deploymentThe Event Simulator application demonstrates a scenario where events are emitted and sent as messages via SAP Event Mesh which were consumed and further processed (i.e. logged via console). Therefore the messaging sample consists of a main.js which provides the corresponding functionality and start the simulation (and a config.js to configure the sample)

Requirements

To run the samples a running Event Mesh Service @SAP BTP is required.
Further necessary configuration and settings are dependent on the specific sample and are documented there.

Download and Installation

To download and install the samples just clone this repository via git clone

For details on how to configure and run the samples please take a look into the README in the corresponding samples directory.

Contributing

This project is 'as-is' with no support, no changes being made.
You are welcome to make changes to improve it but we are not available for questions or support of any kind.

Licensing

Copyright (c) 2024 SAP SE or an SAP affiliate company. All rights reserved.
This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.

Apache-2.0, read

Details

Sources3
Added by handdiscovered herechecked
github.com/SAP-samples/event-mesh-client-nodejs-samplestree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainbtp, integration-and-messaging
Contributors5

From the repository’s contributor list, .

History in the atlas1
  1. First seen.
For your agent
Ref
artifact:sap-samples-event-mesh-client-nodejs-samples
JSON
/artifacts/sap-samples-event-mesh-client-nodejs-samples.json
MCP
Connecting an agent