|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
![Reply to topic](templates/DAJ_Glass/images/lang_english/reply.gif) |
|
Reading multiple MQRFH2 headers using MQJMS API |
« View previous topic :: View next topic » |
Author |
Message
|
abhay09 |
Posted: Thu Jun 15, 2017 8:01 am Post subject: Reading multiple MQRFH2 headers using MQJMS API |
|
|
Acolyte
Joined: 31 May 2016 Posts: 66
|
Hi Guys,
I have a system which uses MQJMS API to connect to MQ Queues.
Now, I came along a message that has multiple RF2 headers.
Details:
2 Rfh2 headers in message containing <jms> folder in each message.
Now, how can I read both rfh2 headers using MQJMS API.
Consumer.receive gives one jms folder details only.
Please guide.
Thanks! |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
fjb_saper |
Posted: Thu Jun 15, 2017 11:09 am Post subject: Re: Reading multiple MQRFH2 headers using MQJMS API |
|
|
![](images/avatars/gallery/misc/2.gif) Grand High Poobah
Joined: 18 Nov 2003 Posts: 20696 Location: LI,NY
|
abhay09 wrote: |
Hi Guys,
I have a system which uses MQJMS API to connect to MQ Queues.
Now, I came along a message that has multiple RF2 headers.
Details:
2 Rfh2 headers in message containing <jms> folder in each message.
Now, how can I read both rfh2 headers using MQJMS API.
Consumer.receive gives one jms folder details only.
Please guide.
Thanks! |
While multiple RFH headers is a legitimate construct (see header chaining) the question remains as to why multiple RFH headers were built instead of consolidating the properties in a single RFH header...
Have fun ![](images/smiles/innocent.gif) _________________ MQ & Broker admin |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
abhay09 |
Posted: Thu Jun 15, 2017 9:17 pm Post subject: Re: Reading multiple MQRFH2 headers using MQJMS API |
|
|
Acolyte
Joined: 31 May 2016 Posts: 66
|
fjb_saper wrote: |
abhay09 wrote: |
Hi Guys,
I have a system which uses MQJMS API to connect to MQ Queues.
Now, I came along a message that has multiple RF2 headers.
Details:
2 Rfh2 headers in message containing <jms> folder in each message.
Now, how can I read both rfh2 headers using MQJMS API.
Consumer.receive gives one jms folder details only.
Please guide.
Thanks! |
While multiple RFH headers is a legitimate construct (see header chaining) the question remains as to why multiple RFH headers were built instead of consolidating the properties in a single RFH header...
Have fun ![](images/smiles/innocent.gif) |
Actually, my system is accessing a client queue and any message can be there, be it string message, single rf2 header message or multiple rf2 headers message.
My system is not able to read multiple rf2 headers using mqjms api. Please suggest any way.? |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
fjb_saper |
Posted: Fri Jun 16, 2017 4:52 am Post subject: Re: Reading multiple MQRFH2 headers using MQJMS API |
|
|
![](images/avatars/gallery/misc/2.gif) Grand High Poobah
Joined: 18 Nov 2003 Posts: 20696 Location: LI,NY
|
fjb_saper wrote: |
While multiple RFH headers is a legitimate construct (see header chaining) the question remains as to why multiple RFH headers were built instead of consolidating the properties in a single RFH header...
Have fun ![](images/smiles/innocent.gif) |
So did you look into header chaining or request the reason why multiple RFH headers are present instead of a single consolidated one? ![](images/smiles/innocent.gif) _________________ MQ & Broker admin |
|
Back to top |
|
![](templates/DAJ_Glass/images/spacer.gif) |
|
|
![Reply to topic](templates/DAJ_Glass/images/lang_english/reply.gif) |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|