Skip to Content
avatar image
Former Member

Integration Sap PI - JCAPS through JMS queue problem

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 20, 2010 at 06:50 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      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.