ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » MDB to read property key and values

Post new topic  Reply to topic
 MDB to read property key and values « View previous topic :: View next topic » 
Author Message
prasannal
PostPosted: Mon Apr 04, 2005 11:30 pm    Post subject: MDB to read property key and values Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 05, 2005 1:54 am    Post subject: Reply with quote

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
View user's profile Send private message
prasannal
PostPosted: Tue Apr 05, 2005 5:48 am    Post subject: MDB to read property key and values Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 05, 2005 6:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MDB to read property key and values
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.