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 Discussion » Problem in MQGET with signaling

Post new topic  Reply to topic
 Problem in MQGET with signaling « View previous topic :: View next topic » 
Author Message
##mqguy##
PostPosted: Wed Dec 03, 2003 2:16 am    Post subject: Problem in MQGET with signaling Reply with quote

Novice

Joined: 22 Oct 2003
Posts: 10

In my application i am using MQGMO_SET_SIGNAL during an MQGET.And i am getting MQRC_SIGNAL1_ERROR as return code. In that case, what may be the reason for an invalid address in Signal1 field. Or why it can't point to a read-only storage. Is there any way to avoid this return code ?
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Dec 03, 2003 5:42 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Signalling is unsupported on a lot of platforms, and should be avoided.

Use a Get with timed wait in a loop, instead.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
##mqguy##
PostPosted: Wed Dec 03, 2003 6:14 am    Post subject: Reply with quote

Novice

Joined: 22 Oct 2003
Posts: 10

Whether by using this wait option, can the wait interval be interuppted. For eg: my wait interval is 10 secs and once any message is available in the queue at 6th sec, then whether that wait interval will be cancelled ??
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Wed Dec 03, 2003 6:27 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

##mqguy## wrote:
Whether by using this wait option, can the wait interval be interuppted. For eg: my wait interval is 10 secs and once any message is available in the queue at 6th sec, then whether that wait interval will be cancelled ??

Short answer, Yes.

Longer answer, The Get will return to your application as soon as a message is available, or when the interval has expired. You will also want to specify the FAIL IF QUIESCING option on the get.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bduncan
PostPosted: Thu Dec 04, 2003 5:51 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Have you considered using triggering so that your application will only be launched once a message has arrived?
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Problem in MQGET with signaling
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.