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 » Channel going down between client and server?

Post new topic  Reply to topic
 Channel going down between client and server? « View previous topic :: View next topic » 
Author Message
javierDiaz
PostPosted: Tue Mar 05, 2002 6:39 am    Post subject: Reply with quote

Novice

Joined: 04 Mar 2002
Posts: 13
Location: Ireland

Hi everyone,

I have a MQSeries client that connects to a MQSeries server using a server connection channel and the MQSERVER env variable. The client then keeps looping forever trying to get messages from a particular queue on the server. Is it possible that this connection went down if no messages are retrieved from the queue from a long period of time? I remember something similar happening with a channel between 2 servers when no activity was detected on the channel for a certain period of time.

Many thanks in advance,

Javi Diaz
Back to top
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Tue Mar 05, 2002 9:45 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

A SVRCONN channel will not disconnect you just because you have not had a message come across for a while. A network hiccup or a the queue manager/server having a problem could disconnected.

Regular channels have something called a disconnect interval, where you can specify a length of time after which the channel goes to sleep if no messages have come across.

Have you considered do a single get with a long wait period speciied instead of constantly looping to do gets over and over? If you specify Fail-if-Quiescing on the GET this will allow you to shutdown the QM if you need to. Just code your app to gracefully end if the get fails with a queue manager quiescing error.

_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
javierDiaz
PostPosted: Wed Mar 06, 2002 5:37 am    Post subject: Reply with quote

Novice

Joined: 04 Mar 2002
Posts: 13
Location: Ireland

Thanks Peter,

Following your suggestion, we are trying to find out any possible network/mqseries problem that could have caused this. We are also seriously considering the 'single get' option rather than the constant loop we are using at the moment. Thanks a lot again for your comments.

Regards,

Javi




_________________
Software Engineer
Kainos Software Ltd.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Channel going down between client and server?
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.