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 » How to create a listener out side of the qmgr

Post new topic  Reply to topic
 How to create a listener out side of the qmgr « View previous topic :: View next topic » 
Author Message
bkRaju
PostPosted: Tue Feb 24, 2009 7:11 am    Post subject: How to create a listener out side of the qmgr Reply with quote

Centurion

Joined: 19 Aug 2008
Posts: 106

Hi,
Is it possible to create a listener out side of the qmgr(out side of runmqsc)
if so Please let me know how to create it?
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 24, 2009 7:13 am    Post subject: Re: How to create a listener out side of the qmgr Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bkRaju wrote:
Is it possible to create a listener out side of the qmgr(out side of runmqsc)


If you're using v6 or later why would you want to? It's the best and recommended method.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
SAFraser
PostPosted: Tue Feb 24, 2009 7:54 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

You can't "create" a listener object outside the queue manager. You can initiate a listener in runtime. Read about the runmqlsr command.

But, as Vitor said, why would you want to? If you don't want the listener to start with the queue manager, you can configure it for manual control.

What business requirement are you trying to satisfy?
Back to top
View user's profile Send private message
bkRaju
PostPosted: Tue Feb 24, 2009 7:56 am    Post subject: Reply with quote

Centurion

Joined: 19 Aug 2008
Posts: 106

Thanks for giving update.
Just I wanted to know is it possible...

If it is so please tell me the procedure..


Thanks
Krishnam
Back to top
View user's profile Send private message
SAFraser
PostPosted: Tue Feb 24, 2009 7:59 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

As mentioned, look at the control command "runmqlsr" in the System Administration guide. (Info Center link is conveniently located at the top of this page!)
Back to top
View user's profile Send private message
bkRaju
PostPosted: Tue Feb 24, 2009 8:04 am    Post subject: Reply with quote

Centurion

Joined: 19 Aug 2008
Posts: 106

If I do so manually,can i see the listener status in the qmgr?
Back to top
View user's profile Send private message
SAFraser
PostPosted: Tue Feb 24, 2009 8:06 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

No, you will have to query the OS for the status of the listener process you have instantiated in runtime.

And if you stop your qmgr, your listener will keep running.

That's why all us oldtimers love the 6.0/7.0 feature of the listener as a qmgr object.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Feb 24, 2009 8:10 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

To be pedantic, you can create a listener object without using runmqsc.

You can send a PCF message to create one instead. But doing that doesn't require a procedure, it requires writing code and that seems rather a bit beyond the level of expertise that bkRaju has exhibited in this particular thread.
Back to top
View user's profile Send private message
bkRaju
PostPosted: Tue Feb 24, 2009 8:17 am    Post subject: Reply with quote

Centurion

Joined: 19 Aug 2008
Posts: 106

Thanks a lot for the information
I have a query here.
in my environment mqv6 listener process runs like below
runmqlsr -r -m qmgr -t TCP -p 10600 -i krishnam.com

Please let me know wt is the importance of the parameter "i" value in the above listener.
Even we can run listener without parameter "i".
but I wanted to know it's importance


Thanks
Krishnam
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 24, 2009 8:19 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bkRaju wrote:
Even we can run listener without parameter "i".
but I wanted to know it's importance


Then:

a) why not ask the question directly
b) look here where it describes the parameter.

Much quicker and more time-effiecient for everyone!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bkRaju
PostPosted: Tue Feb 24, 2009 8:30 am    Post subject: Reply with quote

Centurion

Joined: 19 Aug 2008
Posts: 106

Thanks Vitor
Actually I had those two queries....


looks I have to get more inputs from mqjeff on first query.
"Creating listener out side of the qmgr"

thanks mqjeff

Thanks
Krishnam
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Feb 24, 2009 8:33 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bkRaju wrote:
looks I have to get more inputs from mqjeff on first query.
"Creating listener out side of the qmgr"


I have some doubts that mqjeff will provide sample PCF code, or that it's better on any level than script for this particular task.

But you have fun now. At some point do give some details on your requirement here, aside from poking about in the queue manager because you can.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » General IBM MQ Support » How to create a listener out side of the qmgr
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.