on 05-10-2010 12:32 PM
Hi everybody,
I have a scenario RFC => PI => JMS (IBM MQS).
I would like to put the messageid depending of a value of program and not provided automatically from MQS.
It's a requirement .
The Msgid should have a structure like 'TENTBEL01' + bits of timestamp instead of default value (AMQ TBEA1 7î×K)
where TBEA1 is my queue manager.
I tried to use the additionnal parameter properties to do this.
in property 0, I put JMSMessageID type String.
in an UDF, I put .
DynamicConfiguration conf = (DynamicConfiguration) container
.getTransformationParameters()
.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey key2 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/JMS", "DCJMSMessageProperty0");
conf.put(key2, "TENTBEL01 TEST");
For another JMS propoerty , that works (JMSReplyTo).
I don't understand why doesn't work for JMSMessageID.
Can somebody help me, please ?
Kind Regards.
E. Koralewski
Hi Eric,
Fist you want to change JMS Msg ID using standard adapter you can do it,but if you want to change MQMD.MSG ID in MQ using stadard JMS functionality not possible.
which one you want to change ??
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 Eric
Check note #1086303 XI JMS Adapter and IBM Websphere MQ: FAQ - Question 3. This may provide you with some useful information.
Regards
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.