cancel
Showing results for 
Search instead for 
Did you mean: 

Integration Sap PI - JCAPS through JMS queue problem

Former Member
0 Kudos

Hi to all,

we have to send data through Sap PI 7.1 to an application server Sun Seebeyond JCAPS via JNDI JMS.

We created a Simple Java Test Class that sends data to Jcaps Queues using stcms libraries suggested from Sun.

I already tested this code on Eclipse, and it works fine. (Jcaps receive correctly messages sent from Java Class)

Using JMS Communication Channel on Sap PI with same settings used on Java Class (Queue Connection Factory, Initial Context Factory, URL, Queue Name) and deployed the same stcms libraries on PI,

Jcaps doesn't receive any message. In ABAP Monitor and Communication Channel Monitor we don't check any error: infact in CC Monitor a "Succesfully Connected to Queue" is displayed.

During our tests on Java Class, we tried to change CreateQueueSession istruction ( qsession = qcon.createQueueSession( false, javax.jms.Session.CLIENT_ACKNOWLEDGE ));

we checked that any other setting (changing parameters required from Java Method), different from setting just exposed,

messages are not received from Jcaps and we don't have any error during sending operation (like happens in Sap PI).

So correct setting to send message to JCAPS are:

Transacted = False;

acknowledgeMode = CLIENT_ACKNOWLEDGE;

How we can set this parameter in JMS Communication Channel on Sap PI?

If the CC configuration is correct, where we can find the problem and what kind of issue could be? On client side (Sap PI) or on Server side (JCAPS)?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

In order to set Transacted = false, uncheck "Transactional JMS Session" in the Processing Tab of JMS adapter. Keep in mind that the message delivery is NOT guaranteed in such a scenario. It is recommended to use transactional sessions in JMS scenarios.

The JMS sessions created by JMS adapter are of type "AUTO_ACKNOWLEDGE".

Regards,

TK

Edited by: Sameej T.K. on Oct 20, 2010 10:47 PM

Former Member
0 Kudos

Thanks for your answer,

we already tested settings you suggest but any message reached JCAPS.

Do you have any suggest to verify where the problem is?

Thanks again.

AMM

former_member190624
Active Contributor
0 Kudos

Hi AMM,

Is your issue got resolved ? Are you trying to connect to JCAPS using transport protocol "JMS provider generically" in JMS channel ?

Regards

Hari.