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 » General Discussion » How to Close The Channel

Post new topic  Reply to topic
 How to Close The Channel « View previous topic :: View next topic » 
Author Message
amitk
PostPosted: Tue Feb 03, 2004 5:03 am    Post subject: How to Close The Channel Reply with quote

Newbie

Joined: 17 Nov 2003
Posts: 5

Can anyone please advise me how do you close the CHANNELS , i have an VB application which talks with AS/400 server for receiving and sending of messages.

The Problem I am facing is every time i send the message and retrieve the message it works fine , but the problem is it keep's open the channel and it keeps on creating new channel everytime i connect to the server.

Please advise at the earliest how to close the channels once used.

*** Moved by Moderator
Back to top
View user's profile Send private message Send e-mail
saju
PostPosted: Tue Feb 03, 2004 7:21 am    Post subject: Reply with quote

Newbie

Joined: 02 Feb 2004
Posts: 9
Location: India

It seems like you are calling the API for getting the connection object to the Queue manager again and again instead of getting connected to the Queue everytime using the Connection handle for the Queue manager.

This is the reason why the number of connection handles to the channel goes on increasing everytime. I believe you can rectify it by getting connection object to the Queue manager only ONCE and then use the same QueueManager connection object to get connected to the Queue you want to put/get message and then close connection to that particular QUEUE alone.

Let me know if it works.

- Saju
_________________
Dreams get you into the future and add excitement to the present...
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » How to Close The Channel
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.