on 12-28-2009 7:29 AM
Hi All,
I sent the message out with JMS adapter with PI7.1 (asynchronous without BPM)
i am trying to set up the correlation id in the UDF with the following code:
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS", "DCJMSCorrelationID");
conf.put(key, newValue); // set the value from the source field
return conf.get(key);
with the adapter setting:
Advanced tab:
JMS Message Correlation ID is enable
Specify Additional JMS Message Preperties (Maximum of 10) is enable
Name -
JavaType
DCJMSCorrelationID----
String
but the error said:
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException:Dynamic header records are missing/incorrect specified in message: 4b310ac1-887f-003e-0200- 0000a7601ec. Erroneous/Unspecified headers are DCJMSMessageProperty0 ]
I have some doubt on the setting:
1. could UDF make it to set up the JMSCorrelationID?
2. If UDF could, what do i need to set in the receiver Communication Channel?
thank you very much.
Any advice is appreciated
i already checked the link:
with the adapter setting:
Advanced tab:
JMS Message Correlation ID is enable
Specify Additional JMS Message Preperties (Maximum of 10) is enable
Name --------------------------------JavaType
DCJMSCorrelationID-------------String
Do not set the ASMA for all the variables....just check it for JMSCorrrelationID.....uncheck for all others......even your error is saying the same.... Erroneous/Unspecified headers are DCJMSMessageProperty0 ]
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhishek
thanks again
I tried that too
when i only enable the following items in Advance tab:
User Adapter-Specific Message Attributes
JMS Message Correlation ID
Specify Additional JMS Message Properties(Max of 10)
in this case, yes the communication channel is fine
but the CorrelationID cannot be set in the target system
return conf.get(key);
Why do you need a return statement like the above.....wont return ""; help?
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
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.