cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP sync to JMS async

0 Kudos


Hi Everyone,

I'm trying to create the following scenario in SAP PI 7.31 but after a lot of thinking I do not see how I can create it in PI.

I have JMS queues and topics where messages are stored.

I need to make a soap call from a client app to PI to get these messages from the queue. (1 by 1 or all at the same time)

So I need to create a sync soap sender adapter and a async? JMS Receiver adapter.

In my request I would put the queue name or topic name. The request would have to contain the message or messages from the queue.

How can I achieve this?

Tim

Accepted Solutions (1)

Accepted Solutions (1)

former_member192892
Active Contributor
0 Kudos
0 Kudos

Thank you for this info but I think this is just the opposite. From ASync to sync.

What I want to do is make soap call (GetMessagesFromQueue) from a client app to PI to get these messages from the JMS queue.

I want to pass the queue name as parameter of the soap call and get as response the content of the queue.


Answers (1)

Answers (1)

udo_martens
Active Contributor
0 Kudos

Hi Tim,

your SOAP request must call a BPM.

Each queue must have one JMS adapter.

The BPM stores the queue - adapter relationship and will activate an adapter via directory api.

Next the process will receive the asynchronous message from the JMS.

After that the BPM deactivates the adapter via directory api.

Finally the BPM is building the response.

/Udo