Posted: Fri Nov 09, 2007 7:34 am Post subject: MQPUT1 get 2009 reson code
Apprentice
Joined: 29 Apr 2007 Posts: 44
my application like this:
Code:
while (MQGET(queue1))
{
fork(); //parent continue to GET message
//child process do something and put the result to another queue
//.....
MQCONNX(qm);
MQPUT1(queue2); //md.Expiry=timeout * 10; and set MsgId, CorrelId
MQDISC(qm);
}
but MQCONNX successful and MQPUT1 ended with 2009 always.
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
Code:
2009 0x000007d9 MQRC_CONNECTION_BROKEN
Do a search through the forum for this code. There are a number of possible reasons, not all of them application related. _________________ Honesty is the best policy.
Insanity is the best defence.
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