|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Change MQ Message Format From MQXMIT TO MQSTR using vb.net |
« View previous topic :: View next topic » |
Author |
Message
|
sadek169 |
Posted: Wed Apr 25, 2007 3:13 am Post subject: Change MQ Message Format From MQXMIT TO MQSTR using vb.net |
|
|
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 |
|
 |
Vitor |
Posted: Wed Apr 25, 2007 3:49 am Post subject: |
|
|
 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 |
|
 |
EddieA |
Posted: Wed Apr 25, 2007 9:37 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|