Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Bundle messages in XI based on common field value using ccBPM

$
0
0

Hi everybody,

 

I have the following scenario: I am receiving multiple messages (orders), some of which have the same value in one of the fields, i.e. GroupId. I am trying to aggregate/bundle the ones that have the same GroupId into a single message, and then send that message with multiple items inside instead of sending multiple messages.

I tried implementing this using ccBPM, but it seems I am doing something wrong, or I am missing something. Could you please help me with this?


Here are the steps that I did so far:

1. Created data types and 2 message types, orderOut (outbound) and orderIn (inbound)

2. One async outbound interface, one async inbound interface and 2 abstract interfaces

3. Message mapping (I kept playing with the occurrences, so I don't know if my problem doesn't come from here...)

MessageMapping.png

4. Interface Mapping (outbound interface -> abstract interface):

InterfaceMapiing2.png

5. Integration Process (I tried adapting BpmPatternCollectTime fromhttp://sap.com/xi/XI/System/Patterns in SAP BASIS, and set the time to 2 minutes - so all orders that have the same groupID and come inside that interval, to be bundled up in the same output message):

IntegrationProcess.png

where:

Receive Step:

Receiver.png

Container Operation:

ContainerOperation.png

Transformation:

Transformation.png

Send Step:

Sender.png

(the system highlights with red what has errors)

Container:

Container.png

 

Thank you in advance for any suggestions!


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>