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 » General IBM MQ Support » Change MQ Message Format From MQXMIT TO MQSTR using vb.net

Post new topic  Reply to topic
 Change MQ Message Format From MQXMIT TO MQSTR using vb.net « View previous topic :: View next topic » 
Author Message
sadek169
PostPosted: Wed Apr 25, 2007 3:13 am    Post subject: Change MQ Message Format From MQXMIT TO MQSTR using vb.net Reply with quote

Newbie

Joined: 25 Apr 2007
Posts: 1

hi all,
i new with MQ and i need ur help. i implementing MQ client to connect to a remote queue manager. the problem is when i'm trying to put msg in the remote queue, the msg fomat takes MQXMIT by default.

i put in my code
MsgObj.format=MQFMT_STRING ' MQFMT_STRING = "MQSTR "

but still the message doesn't take the new format.
on other hand, when i use same code to put a msg in local queue. it accepts it !!!!!!!!!!

any idea ??????
Back to top
View user's profile Send private message MSN Messenger
Vitor
PostPosted: Wed Apr 25, 2007 3:49 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

This is functioning as designed. Your application needs to have no knowledge of this header.

The system will add an transmission header (MQXMIT) to your message once it's put to the remote queue by your program, and queue it up on the transmission queue to be sent to the remote queue manager. Once it arrives at the target queue manager this additional header will be stripped off and the reading application will see the format as MQSTR.

All this is documented in the Intercommunication manual and the Application Programming Guide.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Apr 25, 2007 9:37 am    Post subject: Reply with quote

Jedi

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

You should not be writing to the XMITQ directly.

Read the Intercommunications manual, to see how distributed queueing works.

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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Change MQ Message Format From MQXMIT TO MQSTR using vb.net
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.