|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Search found 4 matches |
Author |
Message |
Topic: perl Cannot get message by msgId |
jyx
Replies: 4 Views: 5343
|
Forum: 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
|
Forum: 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
|
Forum: 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
|
Forum: 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',
... |
|
|
|