on 08-01-2009 5:20 PM
Hello,
I have a scenario where PI sends the data to IBM Webspehere MQ version 6.0 using JMS adapter. The requirement of the outbound JMS message is that, we have to add 3 property fields to MQRFH2 header section at <usr> and value of the
properties needs to be fetched from the Message body( business data like VendorID..basically routing information to the supplier)
I started with writing a graphical mapping in and used DynamicConfiguration classes to add message properties in the header. But the result of this mapping is, it adds the custom property fields inside SOAP header of the message but not on JMS header MQRFH2 section.
Any valuable inputs are welcome.
Thanks in advance!
Amulya
Hi Amulya,
Here is the solution,
1. In Adapter Specific Message Attributes under the "Advanced" tab, use the table to enter your property names into the table (up to 10)
2. Click on the "Module" tab of the communication channel.
3. In the processing sequence, add a new module called "AF_Modules/DynamicConfigurationBean" type "Local Enterprise Bean" module key "RFHHEADER"
4. You can now enter name value pairs in the module configuration table.. for instance, if you want to assign a value of "TEST" to a property called "Environment" (created in step 1, and first entry in table), then the config would be as follows:
Module Key Parameter Name Parameter Value
=========== ============= =========================
RFHHEADER key.0 insert http://sap.com/xi/XI/System/JMS DCJMSMessageProperty0
RFHHEADER value.0 TEST
repeat using key.1/value.1 etc..
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 ,
This is veeru. I am doing proxy to jms using websphere mq series. i don't now in header data of the jms adapter . I configure the Jms communication channel but few things i am facing problem . how define in header parameters in module tab please help me this things. my header parameter is BH_heradename,BH_version,BH_debug,etc ..
Best Regards,
Veera.
Hi,
I have a scenario similar to this. But can anyone tell me hvor to get data from the message body to the header fields I have created in the ASMA Properties?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found one small information missing in the answer (at least when using MQ Series).
In the communication channel, under Parameters --> Target --> Target Client, change the value "WebSphereMQ (non-JMS)" to "JMS-Compliant".
I only managed to get the MQRFH2 header, when the above mentioned setting was changed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
This is veeru. I am doing proxy to jms using websphere mq series. i don't now in header data of the jms adapter . I configure the Jms communication channel but few things i am facing problem . how define in header parameters in module tab please help me this things. my header parameter is BH_heradename,BH_version,BH_debug,etc ..
Best Regards,
Veera.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can achive it using the Specify Additional JMS Message Properties -> http://help.sap.com/saphelp_nw2004s/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/frameset.htm and filling the values using dyn. conf.
Else you can also use the dynamicconfigurationbean http://help.sap.com/saphelp_nw04/helpdata/EN/45/da2239feb22e98e10000000a155369/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi AMuly,
If you want to add MQRFH2 Header,You need to add RFH2 bean in JMS Receiver Communication channel,
after that add 3 property fileds in ASMA Properties.
using Dynamic configuration it wont work.
Regards,
Raj
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 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.