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 » Setting message id to none in vb.net

Post new topic  Reply to topic
 Setting message id to none in vb.net « View previous topic :: View next topic » 
Author Message
vijkid
PostPosted: Thu Nov 20, 2003 4:03 am    Post subject: Setting message id to none in vb.net Reply with quote

Novice

Joined: 09 Oct 2003
Posts: 13

Dear Forum,

I have a problem that when I am trying to fetch message in loop i am getting the first message but after that it does not fetches. The reason indentified was that every time I have to put my message id to none before loop iterates. In java we used to do it as
myMessage.messageId = MQC.MQMI_NONE;
But in VB.ney I am not able to find the proper thing, can anybody help me with this

P.S IS there any other way by which my problem can be resolved , as I am not able to identify that why my second message is not pulled from queue

Thanks in advance

Vijay
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Thu Nov 20, 2003 8:08 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Hmm, I have the same problem.

I tried this:
mqMsg.MessageId = MQC.MQMI_NONE

But it won't except MQC.MQMI_NONE. The error it displays is:
"A value type of String cannot be converted into a 1-dimensionla array of byte"

MQC.MQMI_NONE is a String, but mqMsg.MessageId expects a byte.

Same problem with CorrelId.

Jason, any ideas?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
JasonE
PostPosted: Thu Nov 20, 2003 8:40 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Sounds like a problem to me. Perhaps you ought to raise a PMR for it

.net is aimed to be consistent with eg the java bindings, and in those the MQMI_NONE is a byte array, so I would have expected it to be the same in .net.
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 API Support » Setting message id to none in 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.