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 » Search

 Search found 4 matches
Author Message
  Topic: perl Cannot get message by msgId
jyx

Replies: 4
Views: 5343

PostForum: IBM MQ API Support   Posted: Thu Jul 15, 2010 10:57 am   Subject: perl Cannot get message by msgId
I found the problem. there is a typo, and the MQ or Perl interpreter just ignored it without a warning:(

my $msg = MQSeries::Message->new
(
MsgDesc =>
{
MsgId => $msgId,
format = ...
  Topic: perl Cannot get message by msgId
jyx

Replies: 4
Views: 5343

PostForum: IBM MQ API Support   Posted: Thu Jul 15, 2010 7:51 am   Subject: perl Cannot get message by msgId
I did put the message with the following before getMessage:

my $msgId = putMessage($msgQueue, $data);
  Topic: perl Cannot get message by msgId
jyx

Replies: 4
Views: 5343

PostForum: IBM MQ API Support   Posted: Thu Jul 15, 2010 7:24 am   Subject: perl Cannot get message by msgId
After I put a message in a queue, I tried to get the message by its MsgId. However, it seems that I always get the first message instead of the message with MsgId I passed to getMessage(). Did I miss ...
  Topic: Perl MQMD Values
jyx

Replies: 2
Views: 4623

PostForum: IBM MQ API Support   Posted: Wed Jul 14, 2010 11:54 am   Subject: Perl MQMD Values
I printed out message->MsgDesc() in my perl script. I am wondering how I can find out the MQ constant is for, say, 'MsgType'=8 or 'Persistence' = 2. Thanks.

'PutTime' => '19500661',
...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.