on 02-26-2010 9:51 AM
Hi Experts,
I want to receive 4B2 PIP from BizTalk in PI. Therefore I am configuring Sender JMS communication channel.
I am having couple of doubts here.
1. What happens if "Transactional JMS Session" is checked or selected in processing tab? What happens if it is unchecked?
2. In BizTalk messages are getting queued if there was error in the first message. Actually the error is in the adapter engine because BizTalk has sent a message with wrong schema. So any subsequent message with correct schema is getting queued in BizTalk. What should be done so that correct messages are received in PI? Do I need to change anything in sender JMS communication channel?
Please help!
Thanks
Gopal
> 1. What happens if "Transactional JMS Session" is checked or selected in processing tab? What happens if it is unchecked?
You can group a series of operations into an atomic unit of work called a transaction. If any one of the operations fails, the transaction can be rolled back, and the operations can be attempted again from the beginning. If all the operations succeed, the transaction can be committed.
In a JMS client, you can use local transactions to group message sends and receives. The JMS API Session interface provides commit and rollback methods that you can use in a JMS client. A transaction commit means that all produced messages are sent and all consumed messages are acknowledged. A transaction rollback means that all produced messages are destroyed and all consumed messages are recovered and redelivered unless they have expired.
A transacted session is always involved in a transaction. As soon as the commit or the rollback method is called, one transaction ends and another transaction begins. Closing a transacted session rolls back its transaction in progress, including any pending sends and receives.
So if you are going to use a series of operations then keep this options as checked. (usually we keep it unchecked)
> 2. In BizTalk messages are getting queued if there was error in the first message. Actually the error is in the adapter engine because BizTalk has sent a message with wrong schema. So any subsequent message with correct schema is getting queued in BizTalk. What should be done so that correct messages are received in PI? Do I need to change anything in sender JMS communication channel?
>
In this situation you have to remove the erroneous message from the JMS queue as soon as possible so that other stuck messages in the queue can be processed. No, you don't need to do any changes in sender JMS CC.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>1. What happens if "Transactional JMS Session" is checked or selected in processing tab? What happens if it is unchecked?
hI tRY TO AVOID USING tRASACTIONAL SESSION,Because when error occurs your sesion will end,.but i never used
But what SAP Saying is : help.sap.com,
8. If you want to use a transactional JMS session, select Transactional JMS Session.
Following processing of a message, a transactional session ends either with a COMMIT, or in the case of an error, with a ROLLBACK
> 2. In BizTalk messages are getting queued if there was error in the first message. Actually the error is in the adapter engine because BizTalk has sent a message with wrong schema. So any subsequent message with correct schema is getting queued in BizTalk. What should be done so that correct messages are received in PI? Do I need to change anything in sender JMS communication channel?
*I think in this case uncheck the option transactional JMS session dont use it,so subsequent messages will be processed.*
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gopal,
1)notes for JMS adapter
Go thru these notes 790963,747601,746393,856346,802754,
837501 and 790224.
2)information regarding use of JMS Adapters,Go thru these links of help.sap.com
JMS Adapter:
http://help.sap.com/saphelp_nw04/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
Configuring the Sender JMS Adapter:
http://help.sap.com/saphelp_nw04/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm
Configuring the Receiver JMS Adapter:
http://help.sap.com/saphelp_nw04/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/content.htm
JMS-Provider-Specific Settings:
http://help.sap.com/saphelp_nw04/helpdata/en/c1/739c4186c2a409e10000000a155106/content.htm
And to deploy the jars which are given in the JMS Adapter link go thru this article "How To Install and Configure External Drivers for JDBC and JMS Adapters"
http://wiki.sdn.sap.com/wiki/display/XI/FAQ+J2EEJMS+Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/frameset.htm
/people/kan.th/blog/2007/02/05/exploring-jms-and-sap-xi-jms-adaper
http://help.sap.com/saphelp_nw04/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/frameset.htm
/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
Thanks
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.