SAP CPI with SOLACE PUB SUB DEMO:
Scenario – Trying to send data from CPI to SOLACE
SOLACE – Create a trial account.
Navigate to below:
Cluster Manager -> Create a service
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)
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.
First you can check SOLACE using the Event Broker -> Try-me
Give same connection details on subscriber and same topic/queue details to consume message from publish on left side.
You can see in below snapshot that the message is received well
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
Broker Manager -> ACL Profile
Check all things that needs to be created
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
We are now done with connections on the SOLACE.
Now comes the CPI part:
SOLACE connection details:
Host name is copied from Status tab of service name
User credentials for demo are taken from Try-me tab of service
Host name prefixed by tcps:
Testing:
Deploy the iflow and see that its working
Now check the SOLACE queue to see entry
I have tried to consume messages after it is queued there in SOLACE, using Try-me consumer
Now, the queue size is 0
Please note: The same configuration will also work with Advanced Event Mesh adapter in CPI
Thanks,
Rohini Potham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 |