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 Java / JMS » Default Objects for p2p

Post new topic  Reply to topic
 Default Objects for p2p « View previous topic :: View next topic » 
Author Message
Vin
PostPosted: Wed Apr 03, 2002 7:12 pm    Post subject: Reply with quote

Master

Joined: 25 Mar 2002
Posts: 212
Location: India

When I install the MQSeries for Sun Solaris, Do I need to create a Server Connection channel and start the listener? or is it that the channel is created for you by default? Thanks.
Back to top
View user's profile Send private message
kolban
PostPosted: Wed Apr 03, 2002 8:40 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

The MQ listener listens on a particular port for any/all incoming traffic to that queue manager. There is a one-to-one relationship between a listener and a queue manager and a listener and a port number.

You can start the listener any time either by hand or by registering with inetd. You do not have to define channels before starting and after starting, any new channels or changes are effective immediately.
Back to top
View user's profile Send private message
Vin
PostPosted: Wed Apr 03, 2002 9:59 pm    Post subject: Reply with quote

Master

Joined: 25 Mar 2002
Posts: 212
Location: India

Don't I have to define a Server Connection Channel something like JAVA.CHANNEL and then use this in my program for communicating with the QueueManager? I mean I don't understand the purpose of this Server Connection Channel? If I have a simple put and get using Local Queues, do I need a Server Connection Channel? Also If I'm using a remote queue for tranmission of messages, I know that we need sender and reciever channels but do I have to have a Server Connection Channel? appreciate your help in putting me on the right path here. I think I'm deviating too much
Back to top
View user's profile Send private message
Vin
PostPosted: Wed Apr 03, 2002 10:03 pm    Post subject: Reply with quote

Master

Joined: 25 Mar 2002
Posts: 212
Location: India

Actually forgot to mention something in there. I'm not using an MQClient. I connect to MQ using bindings (JNI). So what is the purpose of the Server Connection Channel in this context?
Back to top
View user's profile Send private message
kolban
PostPosted: Thu Apr 04, 2002 5:45 am    Post subject: Reply with quote

Grand Master

Joined: 22 May 2001
Posts: 1072
Location: Fort Worth, TX, USA

If your application is colocated on the same machine as the queue manager and you are using server bindings to access the queue manager, there will be no network communications and hence no need for channels (no SVRCONN channel needed)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Default Objects for p2p
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.