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 » WebSphere Message Broker (ACE) Support » Setting MQMessage propertiesin WMB

Post new topic  Reply to topic
 Setting MQMessage propertiesin WMB « View previous topic :: View next topic » 
Author Message
bobbee
PostPosted: Tue Apr 13, 2010 4:28 pm    Post subject: Setting MQMessage propertiesin WMB Reply with quote

Knight

Joined: 20 Sep 2001
Posts: 545
Location: Tampa

Maybe my understanding is skewed.
I have a message in WMB, I want to move someof the data fields in to the MQ Message Properties. How would one do this? So say I have afield named AGE and it's value is 13. So the Message Propety would be AGE=13. What would be the syntax to setup a Message Property named AGE with the value of 13. Would this just go into the RFH2 header in the usr folder as it always hasand using MQ v7 will call it a namedproperty?
Back to top
View user's profile Send private message Send e-mail AIM Address
fjb_saper
PostPosted: Tue Apr 13, 2010 5:24 pm    Post subject: Re: Setting MQMessage propertiesin WMB Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

bobbee wrote:
Maybe my understanding is skewed.
I have a message in WMB, I want to move someof the data fields in to the MQ Message Properties. How would one do this? So say I have afield named AGE and it's value is 13. So the Message Propety would be AGE=13. What would be the syntax to setup a Message Property named AGE with the value of 13. Would this just go into the RFH2 header in the usr folder as it always hasand using MQ v7 will call it a namedproperty?


Read up on the properties in V7. They are handled differently and non JMS applications have access to the properties too.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
munnster
PostPosted: Tue Apr 13, 2010 5:52 pm    Post subject: Reply with quote

Newbie

Joined: 10 Mar 2010
Posts: 5

Yes bobbee, that sounds correct.
So in WMQ 7 the enhanced API lets client work with properties, while in WMB 7 the MQ nodes still represent these properties using the RFH2.

The complication you might need to consider is that (as I understand it) WMQ 7 is trying to make JMS-style properties easy to work with and still give fairly complete control over old RFH2-style properties. So I totally agree with fjb_saper, it's a good idea to review the WMQ 7 documentation on how the property APIs work.

Also for new code have a think about whether you would like to use MQRFH2C for the RFH2 as it makes it a bit easier to work with.[/quote]
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 » WebSphere Message Broker (ACE) Support » Setting MQMessage propertiesin WMB
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.