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 » How to connect to a sender channel?

Post new topic  Reply to topic
 How to connect to a sender channel? « View previous topic :: View next topic » 
Author Message
yumiko
PostPosted: Mon Apr 17, 2006 4:43 am    Post subject: How to connect to a sender channel? Reply with quote

Newbie

Joined: 17 Apr 2006
Posts: 8

I can connect to a server connection channel. But i can't can't connect to a sender channel.
Is there anyone can give an example code to connect to sender channel?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 17, 2006 4:49 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Only a Receiver or Requester channel can connect to a Sender channel.

Client applications only and always connect to Server Connection Channels.

The Intercommunications guide and the Client manuals are pretty specific about this.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
yumiko
PostPosted: Mon Apr 17, 2006 5:02 am    Post subject: Reply with quote

Newbie

Joined: 17 Apr 2006
Posts: 8

Thanks a lot.
ask another question
I want to set "Disconnect Interval" to my channel. But i can't find this attribute in server connection channel .
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 17, 2006 5:12 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Right.

It's not there.

You can use KeepAlive. This is a property of the queue manager, and instructs it to use the OS level TCP KeepAlive number.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
yumiko
PostPosted: Mon Apr 17, 2006 5:33 am    Post subject: Reply with quote

Newbie

Joined: 17 Apr 2006
Posts: 8

How to set the KeepAlive property?
I was told to config "mqs.ini" to set the KeepAlive property. But i can't find mqs.ini in my folder. The version of my MQ product is "MQ v53".
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 17, 2006 5:38 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If you didn't find mqs.ini, then you must be on Windows.

In this case, you can configure this in the Services MMC - it should be on the properties of the queue manager.

But why are you trying to add a disconnect timeout?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
yumiko
PostPosted: Mon Apr 17, 2006 5:54 am    Post subject: Reply with quote

Newbie

Joined: 17 Apr 2006
Posts: 8

Because i want that MQ can close the channel by itself while my client program haven't closed channel correctly .
By the way, i can't find the KeepAlive property of the queue manager in the Services MMC
Back to top
View user's profile Send private message
yumiko
PostPosted: Mon Apr 17, 2006 5:53 pm    Post subject: Reply with quote

Newbie

Joined: 17 Apr 2006
Posts: 8

Is there anyone can tell me how to set KeepAlive property on windows sysytem in details?
Back to top
View user's profile Send private message
HubertKleinmanns
PostPosted: Thu Apr 20, 2006 12:22 am    Post subject: Reply with quote

Shaman

Joined: 24 Feb 2004
Posts: 732
Location: Germany

First MQ does not close any IP connection. The KeepAlive attribute only advises the operating system, to check existing IP connections and keep them alive. Only when the partner does not respond, the IP connection is cleaned up.

It is not a sort of disconnection interval!

You can enable the KeepAlive by opening the MQServices (not MQExplorer), right-click the QMgr, select Properties and choose TCP. Select the checkbox KeepAlive. Store the change by pressing Apply.
_________________
Regards
Hubert
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 » How to connect to a sender 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.