Posted: Fri Mar 26, 2010 1:10 pm Post subject: DEF LISTENER
Acolyte
Joined: 18 Mar 2010 Posts: 53
Does anyone know any history on the DEF LISTENER command?
I remember working with MQ on UNIX platforms and adding a line on /etc/services if I needed an additional listener port - I now see this DEF LISTENER object.
Noticed it is documented first on V6 - does anyone know why this command was created?
Is it necessary to use it - I see the listeners now have a name - or can the listeners be defined as done before?
The runmqlsr way of doing things is more manageable and extendable than this, and so has been the preferred way of doing MQ listening for a few releases now.
Quote:
I now see this DEF LISTENER object.
Noticed it is documented first on V6 - does anyone know why this command was created?
You can define a listener. Before, you had to do this manually using inetd or runmqlsr, and deal with the lifetimes of these things via OS knowledge. Now MQ will manage the lifetime of listeners for you, via START LISTENER and STOP LISTENER commands.
Isn't this in the manual?
Quote:
Is it necessary to use it - I see the listeners now have a name - or can the listeners be defined as done before?
You can manage everything as before, using runmqlsr commands directly. I think you can even continue to use inetd/amqcrsta, though I don't suppose anyone would advocate that.
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