Posted: Thu Oct 09, 2008 3:12 am Post subject: C++ client: Incomming messages
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).
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