Before you can receive message from the queue, you need to set up a few things in Cloud Integration:
- Create a secure parameter for the Solace Messaging password.
- Import the Advanced Event Mesh adapter from the SAP Business Accelerator Hub.
- Import the integration flow available in the assets folder.
Create a secure parameter for the Solace Messaging password
👉 Go to your SAP Integration Suite instance and create a secure parameter in Monitor > Integration and APIs > Manage Security section > Security Material. Then from the Create menu select Secure Parameter. Provide the details below and deploy.
| Field | Value |
|---|
| Name | SolaceMessaging_AEMBroker_Password |
| Description | Password for Solace Messaging in my AEM broker |
| Secure Parameter | Password field in the Connect > Solace messaging section |
Take note of the secure parameter name as you will be using it in the integration flow when configuring the flow before deployment.
Import the Advanced Event Mesh adapter
Importing the Advanced Event Mesh adapter from the SAP Business Accelerator Hub to the tenant might not be always necessary, as the adapter might be already available in the tenant. For example, if you have already used the adapter in a different integration flow, then the adapter will be available in the tenant. Also, the first time you set up a Sender/Receiver to use the AdvancedEventMesh adapter, it will automatically get the adapter from the SAP Business Accelerator Hub and deploy it in the tenant. Not the case in this exercise as you are importing an existing integration flow and you aren’t setting up the connections from scratch. The steps below are provided for the case when the adapter is not available in the tenant.
👉 Go to your SAP Integration Suite instance and navigate to Discover > Integrations, search for Advanced Event Mesh and select the Advanced Event Mesh adapter for SAP Integration Suite.
👉 Once in the adapter details, choose the Copy button in the top right-hand corner. This action will copy the adapter to your SAP Integration Suite tenant.
Now the AEM adapter is in the tenant and you can see that there is a new integration package called Advanced Event Mesh Adapter for SAP Integration Suite, within its artifacts is the adapter itself. Let’s deploy it.
👉 Choose the Actions button for the integration adapter and select Deploy.
You will be able to see the deployed content in Monitor > Integrations and APIs > Manage Integration Content > All.
Import the integration package
Now you will go ahead and import the sample integration package available here.
Ensure that you’ve downloaded the aem-iflow-sample.zip file from the assets folder in the GitHub repository. The integration package is available here: https://github.com/sap-tutorials/eda/blob/main/tutorials/aem-integrate-cloud-integration-iflow/assets/aem-iflow-sample.zip.
👉 Go to your SAP Integration Suite instance and navigate to Design > Integrations and APIs and choose the Import button in the top right hand corner, select the aem-iflow-sample.zip file and choose the Open button.
Once imported, you will see the Consume_Publish_Events_AEM integration flow, in the Artifacts tab, of the AEM iFlow Sample integration package.