|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MDB to read property key and values |
« View previous topic :: View next topic » |
Author |
Message
|
prasannal |
Posted: Mon Apr 04, 2005 11:30 pm Post subject: MDB to read property key and values |
|
|
Apprentice
Joined: 04 Aug 2003 Posts: 44
|
Hi,
MQ JMS API allows to set key-value pairs. This it sets in RFH2 header.
I want my MDB to read atleast such 8-10 values. Will my MDB be able to read such properties(key-value)?Or what else could be a solution to pass such values with MQ JMS message.
Thanks,
Plad |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Apr 05, 2005 1:54 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Do you mean, you want to use 8 to 10 properties in a SELECTOR?
Because, it may be possible, but don't do it! You will be SLOW, SLOW SLOW.
But yes, the RFH2 Header, and thus the JMS API will allow you to set 10 properties, and probably more.
But it will impact your message size. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
prasannal |
Posted: Tue Apr 05, 2005 5:48 am Post subject: MDB to read property key and values |
|
|
Apprentice
Joined: 04 Aug 2003 Posts: 44
|
Hi Jeff,
I need my MDB to receive message data as well as few more 8-10 properties. As MDB Message is pure JMS object, I doubt if I will be able to read MQ JMS RFH2 properties.
Any alternative way for this you can suggest?
Thanks,
Plad |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Apr 05, 2005 6:10 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Your MDB will be passed a JMS Message object. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
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
|
|
|
|