cancel
Showing results for 
Search instead for 
Did you mean: 

Sync/Async without BPM

praveen_yeddula2
Explorer
0 Kudos

Hello Experts,

Can you please post your experiences on this issue.

I am working on this SYNC/ASYNC scenario.

REQUEST

ABAP Proxy -> PI -> JMS receiver adatper -> IBM MQ

RESPONSE

IBM MQ --> JMS Sender adapter -> JMS receiver adapter

Here it is going into a loop. The JMS sender adapter sends response back to the JMS receiver, but the JMS receiver thinks it is from the source sender SAP and sends it back toe IBM MQ, and this goes into a loop. Meaning, MQ receives this as a new request and proceses it and sends back a new response going into a loop.

The reponse is sent back to the receiver, which is waiting. How does the JMS receiver know the message is a response not from Request. Please post your experiences.

I need to know based on help.sap.com-http://help.sap.com/saphelp_nw04/helpdata/en/45/20d2b4c20a0732e10000000a155369/content.htm, the correct Receiver Agreements, and Receiver determinations for this scenario.

Thanks for your answers.

-praveen

Accepted Solutions (1)

Accepted Solutions (1)

VijayKonam
Active Contributor
0 Kudos

Why the response is being sent to JMS receiver instead of SAP? I do not see how you are trying realise your Sync-Asyn scenario here. Is the proxy of type sync?

VJ

praveen_yeddula2
Explorer
0 Kudos

Yes. It is a synchronous proxy sender. Using a JMS receiver adapter (async). A JMS sender is created from the Receiver component, to send the response back to the JMS receiver which is waiting for the response back. Any idea how to resolve this?

Thanks - Praveen

henrique_pinto
Active Contributor
0 Kudos

Praveen,

if it's an sync/async scenario, the message from IBM MQ needs to go to the Proxy and not back to another JMS receiver.

If your IBM MQ is expecting yet another response, you can either make your ABAP Code call another async proxy or use BPM.

Additionally, PI uses the sender service & sender interface information in order to derive the proper receiver.

In this case, apparently your configuration is not correct, hence the confusion.

Try to avoid doing manual configuration, specially when you're not so familiar with every object.

Use the configuration wizard instead.

BR,

Henrique.

Edited by: Henrique Pinto on Aug 25, 2010 4:40 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Praveen,

This looks straightforward if you are using the sync-async bridge modules.

Sync/Async Bridge in the Receiver JMS Adapter

http://help.sap.com/saphelp_tm70/helpdata/en/45/20d2b4c20a0732e10000000a155369/frameset.htm

Sync/Async communication in JMS adapter without BPM

/people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19

Basically, in one configuration, you use RequestOnewayBean to send a request to your JMS receiver and then wait for a response at WaitResponeBean. In another configuration, where you are sending back a response, you use NotifyResponeBean to send this response back to the waiting call.

Regards, Yza