Hi all,
as i know it is possible to couple Synch to Async via Sync-Async Bridge. But what about the other way around,
e.g. couple async to sync via ccBPM?
What we want to try is to send a async message via a jms-Adapter. This message will request an RFC-Call which
return an answer. The answer should trigger a new JMS-
asysnchrone message as an responser for the requester.
If it is possible where to get further information?
thanks,
Ly-Na Phu
Hi Ly-Na Phu,
A bridge is needed for a sync-async scenario. For the one you are trying to do would be a standard integration process. The receive step would have mode 'Asynchronous' and the send step which does the RFC call should be assigned to 'Synchronous' mode along with the request and response message container abstract types.
You could then use the reply to do a send step in async mode.
Regards
Guru Shetti
Hi Ly-Na (is that your first name?),
you need a second process (async-sync-bridge) if you have a correlation. The reason is that a process instance cannot receive messages (for the current correlation) while sending messages synchron (in my opinion a bug). So your integration scenario would be:
1. jms->process1 (with correlation)
2. process1->bridge (sending correlation data)
3. bridge<->RFC (synchron)
4. bridge->process1 (giving correlation data back)
5. process1->jms
If there is no correlation necessary you don't need a bridge because every message creates a new process instance.
Regards Udo
Add a comment