Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
rohini_potham3
Explorer
1,094

SAP CPI with SOLACE PUB SUB DEMO:

ScenarioTrying to send data from CPI to SOLACE

SOLACE – Create a trial account.

Navigate to below:

Cluster Manager -> Create a service

1.png

When you open the Service created and move to Try-me option, you can see credentials used to send/receive data from SOLACE (client username & client password)

 

2.png

SOLACE -> Service -> Broker Manager -> Queue 

Create a queue name SOurce and topic ROHINI under the queue.

 

Under Queue, you can create a topic as well.

 

4.png

First you can check SOLACE using the Event Broker -> Try-me

 

5.png

6.png

Give same connection details on subscriber and same topic/queue details to consume message from publish on left side.

 

7.png

You can see in below snapshot that the message is received well

8.png

The above steps to confirm if credentials & host details are working fine.

Now let’s connect the external system to send data to SOLACE.

Steps

  1. Create user name, client & ACL profile

Broker Manager -> ACL Profile

Check all things that needs to be created

9.png

I have used default profile in this case instead of creating a new one

Enter the entries for adding topics to be published or subscribed for that ACL profile

10.png

 

We are now done with connections on the SOLACE.

Now comes the CPI part:

  1. Download the SOLACE PUB SUB SDA file from SOLACE
  2. Package -> Edit -> Add new Integration adapter & browse the downloaded SDA file.
  3. Deploy this artifact & now we can see SOLACE PUB SUB adapter to use on IFLOW
  4. Create a dummy sender using TIMER & add content modifier to have some message sent to SOLACE

12.png

 

SOLACE connection details:

Host name is copied from Status tab of service name

 

13.png

User credentials for demo are taken from Try-me tab of service

 

14.png

Host name prefixed by tcps:

 

15.png

16.png

17.png

Testing:

Deploy the iflow and see that its working

Now check the SOLACE queue to see entry

 

18.png

I have tried to consume messages after it is queued there in SOLACE, using Try-me consumer

Now, the queue size is 0

20.png

Please note: The same configuration will also work with Advanced Event Mesh adapter in CPI

Thanks,

Rohini Potham

10 Comments
ShaikAzmathulla
Active Participant

Thank you for the detailed steps. For scenarios involving Pub/Sub messaging and data exchange between CPI and SOLACE, integrating through CPI with the SOLACE Pub/Sub adapter is indeed the best approach. This setup ensures efficient message handling and reliable communication, leveraging CPI's robust integration capabilities.

prasannavittal
Discoverer
0 Kudos

Hi Rohini. Thank you for the blog. I have a question. Where did you download the SDA file? The download link doesn't work for me.

https://solace.com/integration-hub/sap-integration-suite/

prasannavittal_0-1726620245786.png

 

Sakshi_T
Discoverer
0 Kudos

Hi Rohini. Thank you for the blog. I have a question. Where did you download the SDA file? Couldn't find the link.

RutikDarekar
Discoverer
0 Kudos

Hi Rohini, thanks for the blog! I have a quick question: where did you download the SDA file? The download link isn’t working on my end, and after clicking on download, I’m getting the following error.

Link: https://solace.com/integration-hub/sap-integration-suite/

RutikDarekar_0-1726644438817.png

 



rohini_potham3
Explorer
0 Kudos

@RutikDarekar @prasannavittal @Sakshi_T  - Please see this link to download.

https://solace.com/integration-hub/sap-integration-suite/ 

I hope this is helpful.

Cheers,

Rohini Potham

Sakshi_T
Discoverer
0 Kudos

Hi Rohini,

Thanks for the URL. I checked it but it's not working. Is there any other way to download?
https://solace.com/integration-hub/sap-integration-suite/ 

Thanks,
Sakshi

rohini_potham3
Explorer
0 Kudos

@Sakshi_T - I have just used the same URL to download. Seems like its down now.

Meanwhile, you can work with Advanced event mesh adapter on trial system. 
It has exactly same options to be configured as that of SOLACE adapter.

AEM adapter could also be used to connect with SOLACE, but its is not the best approach. Since its just hands-on check, you could give it a try.

Thanks,

Rohini Potham

 

rohini_potham3
Explorer
0 Kudos

21.png

prasannavittal
Discoverer

The URL is working now. I was able to download it and test the scenario. Thank you.

RutikDarekar
Discoverer


@rohini_potham3 Thank you for this well-explained and detailed demo! I followed the steps and successfully pushed data from SAP CPI to SOLACE. It was a smooth and informative experience, and your guidance made it easy to understand. Looking forward to more insightful posts from you!

Labels in this area