Author |
Message
|
mqrules |
Posted: Tue Nov 10, 2009 6:14 am Post subject: Listener defined as a service |
|
|
Centurion
Joined: 01 Jun 2005 Posts: 100 Location: US
|
Hi all,
We are defining our listeners as a service. So, I guess there is no need to specify Adopt NewMCA any longer. Correct?
Thanks,
MRule |
|
Back to top |
|
 |
mqrules |
Posted: Tue Nov 10, 2009 7:00 am Post subject: |
|
|
Centurion
Joined: 01 Jun 2005 Posts: 100 Location: US
|
Would appreciate any response. Anybody?
THANKS! |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Nov 10, 2009 7:14 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Patience. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Nov 10, 2009 1:04 pm Post subject: Re: Listener defined as a service |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
mqrules wrote: |
Hi all,
We are defining our listeners as a service. So, I guess there is no need to specify Adopt NewMCA any longer. Correct?
Thanks,
MRule |
Now why would you think that. AFAIK one has nothing to do with the other...
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Nov 10, 2009 1:10 pm Post subject: Re: Listener defined as a service |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
fjb_saper wrote: |
mqrules wrote: |
Hi all,
We are defining our listeners as a service. So, I guess there is no need to specify Adopt NewMCA any longer. Correct?
Thanks,
MRule |
Now why would you think that. AFAIK one has nothing to do with the other...
 |
 |
|
Back to top |
|
 |
mqrules |
Posted: Wed Nov 11, 2009 6:00 am Post subject: |
|
|
Centurion
Joined: 01 Jun 2005 Posts: 100 Location: US
|
Well, the manual says:
Quote: |
If WebSphere MQ receives a request to start a channel, but finds that an amqcrsta process already exists for the same channel, the existing process must be stopped before the new one can start. The AdoptNewMCA attribute allows you to control the ending of an existing process and the startup of a new one for a specified channel type. |
So, when the listenr is defined/started as a service amqcrsta process is out of the picture. So what happens in this case if the RCVR channel is already running? Would AdopNwMCAstill cause the channel to be stopped before a new one can start? In other words, do we need this Paramater set regardless of how the listner is started
MRule |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Nov 11, 2009 6:37 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Your decision to use AdoptNewMCA should be made irrespective of how the listener is started.
I always use AdoptNewMCA. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Nov 11, 2009 6:41 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Look at the WMQ Intercommunications manual. Search for adopt. The section on adoptmca will explain how this works for a receiver channel. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
mqrules |
Posted: Wed Nov 11, 2009 6:42 am Post subject: |
|
|
Centurion
Joined: 01 Jun 2005 Posts: 100 Location: US
|
|
Back to top |
|
 |
mqrules |
Posted: Wed Nov 11, 2009 6:56 am Post subject: |
|
|
Centurion
Joined: 01 Jun 2005 Posts: 100 Location: US
|
bruce2359: Looks like you haven't read my previous response. I do know from the manual how this parameter works. The confusion was the listner being started as a "process" as opposed to "service"....
Thanks.
MRule |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Nov 11, 2009 7:29 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
The confusion was the listner being started as a "process" as opposed to "service".... |
Was there anything in your reading that made you to believe that there was a difference? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
mqrules |
Posted: Wed Nov 11, 2009 7:37 am Post subject: |
|
|
Centurion
Joined: 01 Jun 2005 Posts: 100 Location: US
|
Bruce: I suggest you read the manual to see whether or not there is a difference between starting a listener with inetd (or amqcrsta) or as a service within QM.... You are implying that there is no difference. How do you reach that conclusion yourself?
Regards,
MR |
|
Back to top |
|
 |
bruce2359 |
Posted: Wed Nov 11, 2009 8:24 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Adopt MCA is about receiver channels, not about listeners. There is a presumption that a listener exists, whether it is a service or not. No listener, no (functional) channel.
The narrative in the Intercom manual describes what WMQ will do when a receiver channel becomes orphaned due to death of the MCA. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
|