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 API Support » Generating MQRFH2 Header in Visual Basic

Post new topic  Reply to topic
 Generating MQRFH2 Header in Visual Basic « View previous topic :: View next topic » 
Author Message
vedbhat
PostPosted: Thu Sep 30, 2004 3:14 am    Post subject: Generating MQRFH2 Header in Visual Basic Reply with quote

Disciple

Joined: 19 Mar 2002
Posts: 186
Location: Singapore

Does any body have sample code written in Visual Basic which generates RFH2 Header for the messages which are put in the MQSeries Queue.
_________________
IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
kirani
PostPosted: Thu Sep 30, 2004 8:35 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

This is not a WMQI question, so moving to API Forum.
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
RogerLacroix
PostPosted: Thu Sep 30, 2004 10:08 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

kirani,

The RFH2 header is not restricted to only MQSI (so API or Java forum should be ok). The VB app could be trying to send a message to JMS app.

Although, instead of getting the VB app to understand the RFH2 header, it would be better for the JMS app to have the JMS Queue's attribute of TARGCLIENT(JMS) to changed to TARGCLIENT(MQ). That way the VB app can send plain text and the JMS app will get a JMS message.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
EddieA
PostPosted: Thu Sep 30, 2004 2:54 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
Although, instead of getting the VB app to understand the RFH2 header, it would be better for the JMS app to have the JMS Queue's attribute of TARGCLIENT(JMS) to changed to TARGCLIENT(MQ). That way the VB app can send plain text and the JMS app will get a JMS message.

Isn't that only used when sending message out from JMS. I though that JMS was intelligent enough to receive messages either with or without the RFH2.

There is a VB declaration for the RFH2, so can't this be used.

The only reason I can think that a non-JMS application needs to build an RFH2 is if you wanted to set Properties that the JMS application can read without having to change the message payload. But, I'm sure, that other members here can come up with a bunch more reasons.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Sep 30, 2004 3:28 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

EddieA wrote:
But, I'm sure, that other members here can come up with a bunch more reasons.


Because using an MQ "standard" header for your own custom Rules or Formatting data is a better idea than inventing your own "Rules or Formatting" header...

Like if you wanted applications to include message identification information that could then be used for routing...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vedbhat
PostPosted: Thu Sep 30, 2004 3:59 pm    Post subject: Reply with quote

Disciple

Joined: 19 Mar 2002
Posts: 186
Location: Singapore

My clients is using Visual Baisc for writing most of their applications.

Reqmt: When the Broker recieves the message from any of these systems, we need to identify what type of message it is and where it came from hecne were thinking of using RFH2 Header.

Can anyone pls let me know whether anybody have VB Samples to create RFH2 header.

Thanks in advance,
Ved
_________________
IBM Certified Solutions Expert - MQSeries Workflow
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Generating MQRFH2 Header in Visual Basic
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.