on 07-17-2007 10:14 AM
Hi Experts
Is there any way to Customize Correlation ID generated by XI. Currently XI is generating 36 bytes but our legacy is expecting only 24 bytes.(RFC <-> JMS(Sync)).
Kind regs
Ramesh
Hi Henrique
Thanks a lot for the information. We have tried with the below option suggested.
Also, you can set it in mappings (for example, UDF in Message Mappings) with simple code, such as:
container.getTransformationParameters().put(StreamTransformationConstants.CONVERSATION_ID, "12345678987654321");
We are getting the following error, Kindly let us know if you have any clue...
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: The channel is configured to fail if switched-on properties are empty, in this case it is: DCJMSCorreleationID. Reconfigure the channel or fill this property!</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
Regs
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How is your receiver JMS adapter configuration?
Did you set the <i>JMS Correlation ID</i> to <i>XI Conversation ID (ConversationID)</i> option in Receiver JMS adapter?
If that doesn't work, try to set the <i>DCJMSCorreleationID</i> attribute directly, with
DynamicConfiguration.
String correlation = "your_correlation_string";
DynamicConfiguration conf = container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS", "DCJMSCorreleationID");
conf.put(key, correlation);
Regards,
Henrique.
You can set it through an API for adapter modules.
Check this link: http://help.sap.com/saphelp_nw70/helpdata/en/17/50d440e14f8431e10000000a1550b0/frameset.htm
Also, you can set it in mappings (for example, UDF in Message Mappings) with simple code, such as:
container.getTransformationParameters().put(StreamTransformationConstants.CONVERSATION_ID, "12345678987654321");
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.