Author |
Message
|
Vin |
Posted: Wed Apr 03, 2002 7:12 pm Post subject: |
|
|
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 |
|
 |
kolban |
Posted: Wed Apr 03, 2002 8:40 pm Post subject: |
|
|
 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 |
|
 |
Vin |
Posted: Wed Apr 03, 2002 9:59 pm Post subject: |
|
|
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 |
|
 |
Vin |
Posted: Wed Apr 03, 2002 10:03 pm Post subject: |
|
|
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 |
|
 |
kolban |
Posted: Thu Apr 04, 2002 5:45 am Post subject: |
|
|
 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 |
|
 |
|