I try get message in a loop. everything is ok. But When I unplug the
network cable or disable network card of server get method is not
responce. and waiting.
I setted options of MQGetMessageOptions to MQGMO_FAIL_IF_QUIESCING.
But result is same.
How can I find a solition
Thank You
You need to set the channel heartbeat.
Regards
MQGMO_FAIL_IF_QUIESCING is completely unrelated to MQ behaviour when
there is a network outage.
Assuming you are using MQ Client 7.0, set the Heart Beat Interval on
the CLNTCONN channel.
This feature wasn't available in MQ Client 6.0, as the client TCP
protocol was only half duplex.
HTH, Glenn.