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 IBM MQ Support » Reg. Server Connection channel

Post new topic  Reply to topic
 Reg. Server Connection channel « View previous topic :: View next topic » 
Author Message
atheek
PostPosted: Mon May 14, 2007 7:26 am    Post subject: Reg. Server Connection channel Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Hi all,

I wrote a jave program to connect to the qmgr in client mode, using the Channel SYSTEM.DEF.SVRCONN to connect to the qmgr:

I was able to post messages to queue and everything was working fine.

I like to know whether the server connection channel "SYSTEM.DEF.SVRCONN " was actually used in posting the message to the queue.

Because the status of SYSTEM.DEF.SVRCONN was inactive after posting the message. I expected it to be running. Like sender channels used to trigger receiver channels, i expected serverCONN channels to be triggered by clientCONN channels. Was this actually happening? Please clarify this.

Many thanks in advance.
Back to top
View user's profile Send private message
dhanaraj
PostPosted: Mon May 14, 2007 9:00 am    Post subject: Reply with quote

Voyager

Joined: 10 Aug 2004
Posts: 92

There is lot of difference between MQI channels and Message Channels.
If you use any one of the mode (bind or client) to communicate the Queues it will always active like sender channels.

Thanks
Dhanaraj
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Mon May 14, 2007 1:14 pm    Post subject: Re: Reg. Server Connection channel Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

atheek wrote:
Hi all,

I wrote a jave program to connect to the qmgr in client mode, using the Channel SYSTEM.DEF.SVRCONN to connect to the qmgr:

I was able to post messages to queue and everything was working fine.

I like to know whether the server connection channel "SYSTEM.DEF.SVRCONN " was actually used in posting the message to the queue.

Because the status of SYSTEM.DEF.SVRCONN was inactive after posting the message. I expected it to be running. Like sender channels used to trigger receiver channels, i expected serverCONN channels to be triggered by clientCONN channels. Was this actually happening? Please clarify this.
Many thanks in advance.


The svrconn channel is only active the time between connect and disconnect of the qmgr.

So if your connect post and disconnect is really quick you might not even see the difference in the svrconn channel status...

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Mon May 14, 2007 1:19 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can look at the message count of the channel.

Or you can set the MCAUSER of the channel to some user that does not exists, and see if anyone comes to ask why they're getting a 2035 all of a sudden.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ashu
PostPosted: Mon May 14, 2007 10:23 pm    Post subject: Reply with quote

Centurion

Joined: 11 Nov 2006
Posts: 132

Quote:
I like to know whether the server connection channel "SYSTEM.DEF.SVRCONN " was actually used in posting the message to the queue.


Comment the line in the java code where you say
Code:
MQEnvironment.channel="SYSTEM.DEF.SVRCONN"

and then recompile and try to put the message...

This might prove the point.

Regards,
_________________
Ashu

"It is simple to be Happy but difficult to be Simple"
Back to top
View user's profile Send private message
atheek
PostPosted: Tue May 15, 2007 1:14 am    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Quote:
The svrconn channel is only active the time between connect and disconnect of the qmgr.


I too was thinking on similar lines..Many thanks for confirming!
Back to top
View user's profile Send private message
atheek
PostPosted: Tue May 15, 2007 1:39 am    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Quote:
You can look at the message count of the channel

How can I see the message count of an inactive channel?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue May 15, 2007 7:54 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

atheek wrote:
Quote:
You can look at the message count of the channel

How can I see the message count of an inactive channel?

dis chs(mychl) saved
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Reg. Server Connection 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.