cancel
Showing results for 
Search instead for 
Did you mean: 

HCI message queueing

digirolamocristian60
Participant
0 Kudos

Hi gurus,

recently I stumbled upon one of the most frequent integration scenario namely message queueing. An external application calls scpi which saves data in SAP. SCPI performs a duplicate check before sending data to SAP. This works fine if the external application calls SCPI in two different times. But the duplicate check prooves ineffective if the external application calls SCPI twice at the same time: there's no room for SAP to persits data from the first call and letting SCPI check wheteher those data have been persisted before sending those of the second call.

It's quite a common issue but since I moved from SAP PI/PO to SCPI I never found a suitable alternative.

Any suggestions?

Regards,

Cristian

Accepted Solutions (0)

Answers (1)

Answers (1)

IvoVermeer
Explorer
0 Kudos

Hi Critian,

I believe you can achive that by using the message queueing pattern, see this blog. If you set the Number of Concurrent Processes in the sender adapter to 1, I believe it will process just one message at the time. You will have to create two seperate flows(or one artifact with two integration processes).

Kr.

Ivo

digirolamocristian60
Participant
0 Kudos

Hi Ivo,

unfortunately I see no JMS connector in my SCPI. Secondly, my integration scenario is scpi(http)-sap(http) synchronous (scpi provides a sync ws and calls an sap sync ws). Setting the maximum number of concurrent processes is actually the solution but I don't know how to achieve it with my configuration.

Regards.

IvoVermeer
Explorer

Hi Christian,

JMS Queues (or message queues) is something that has to be enabled in the CPI subscription. I don't know the details on how to enable that feature, but it should be possible to enable it on every CPI license as it should be included.

I don't see another way to prevent multiple executions of the same process.