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 » C++ client: Incomming messages

Post new topic  Reply to topic
 C++ client: Incomming messages « View previous topic :: View next topic » 
Author Message
balleklorin
PostPosted: Thu Oct 09, 2008 3:12 am    Post subject: C++ client: Incomming messages Reply with quote

Newbie

Joined: 09 Oct 2008
Posts: 2

Hi all,

I am fairly new to MQ and I am writing a C++ client that sends and receives messages to an MQ server. In the receiving part I am running into a problem. Too me it looks like it is only possible to poll the queue or to wait for messages, thus stalling the entire program while waiting. I would like to have an exception based system that would generate an exception every time there was a message on the queue ready to be received. Is there any way to do this?

I am using the C++ API of the 6.0.2.2. MQ client.

(I know XMS has an exception based system, but I could not get that to work with MQ server version 5.3 (no fix-packs).
Back to top
View user's profile Send private message
atheek
PostPosted: Thu Oct 09, 2008 3:48 am    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

I think what you are looking for is triggering in a client environment. Check this forum or IBM client manuals on how this can be done
Back to top
View user's profile Send private message
balleklorin
PostPosted: Thu Oct 09, 2008 5:52 am    Post subject: Reply with quote

Newbie

Joined: 09 Oct 2008
Posts: 2

Thanks for the tip. I'll check that out
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Oct 09, 2008 5:59 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You should not be doing anything with MQ v5.3 with no fixpacks.

You should not be doing anything with MQ v5.3, regardless of FixPacks.

You should be using at least the 6.0 client, with the latest FP levels.

Or the v7 client.
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 » C++ client: Incomming messages
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.