cancel
Showing results for 
Search instead for 
Did you mean: 

Correlation issue in JMS adapter - SYNC/ASYNC scenario without BPM

Former Member
0 Kudos

Hi,

I am working on a SYNC/ASYNC scenario with JMS adapter without using BPM. My scenario is SOAP<>PI>JMS. I configured the interface as below:

1. SOAP Sender channel

2. JMS Receiver Channel writing to Queue A.

Module used: a. RequestOneWayBean

b. WaitResponseBean

Correlation Settings:

a. Set JMS Correlation ID to "XI Message ID"

b. Store JMS CorrelationID of request (Checked)

c. Set JMS Property to "JMS Correlation Id"

d. Value = "XI MEssage ID"

3. JMS Sender channel reading from queue B ( I am exporting the message from queue A and importing into queue B)

Module used: a. NotifyResponseBean

Correlation Settings:

a. Set XI MEssage Id to "GUID"

b. Set XI Conversation ID to "Stored JMS COrrelationID of Request"

I can see the cid in the message from queue A. But I observed thhat the header format of the message in Queue A is "MQSTR".

ISSUE:

1. While writing the message to queue A, below adapter log details(part b) concerned me:

a. Message '8747a7c2-2b06-11df-8055-005056a70ed6' successfully processed by channel

b. Could not create acknowledgements for message '8747a7c2-2b06-11df-8055-005056a70ed6'

I am not sure why I am receiving the message that " could not create acknowledgements"

2. While reading the message from the sender channel,I consistently get the error message as below:

a. XI message ID corresponding to JMS message with ID 'ID:414d51205341504449442e514d202020c67b954b20005602'

will be created as a new GUID with value '21bca916-424f-41f6-3347-c71090392b58'

b. Error while processing message '21bca916-424f-41f6-3347-c71090392b58'; detailed error description:

com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: found no correlation ID: RecoverableException:

found no correlation ID at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105) ...

Below are the blogs which I have already gone through:

1. JMS Synchronous Scenario without BPM - Correlation Settings and Transactional JMS Session

http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b028f6f6-7da5-2a10-19bd-cf322cf5ae7b

2. Note: 1086303

3.

In the note, they mentioned something about header being "MQRFH2". BUt in our case, the header is "MSSTR". Not sure whether it makes any difference.

Please help.

Edited by: GP on Mar 9, 2010 4:24 AM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

I confirmed that that the outbound queue is cleared. But, I still get the same error.

Thanks and Regards,

Giridhar

Former Member
0 Kudos

Hi Giridhar - I am getting the same issue as your #2 (no correlation id). I am using a JMS adapter (i.e. response) channel. But for me it only happens 'sometimes' - as an example 1,000 msgs (responses) get processed successfully, and then I get that error.  Furthermore when this error happens, the channel will not process anymore messages.

I realize this was a while ago for you, but did you ever resolve your issue or find a workaround?

I am on PI 7.3.

Regards,

Keith

Former Member
0 Kudos

Hi,

detailed error description: 
com.sap.aii.adapter.jms.api.channel.filter.MessageFilterException: found no correlation ID: RecoverableException: 
found no correlation ID at com.sap.aii.adapter.jms.core.channel.filter.SendToModuleProcessorFilter.filter(SendToModuleProcessorFilter.java:105) ...

This error would generally arose when there are multiple messages, got stuck in the outbound queue. Try to stop both the sender and receiver JMS comunication channels and clear both the inbound and outbound queues.

Once all the messages in the queue are cleraed, try posting the message again.

Regards,

Swetha.