Author |
Message
|
smdavies99 |
Posted: Thu Nov 12, 2015 8:37 am Post subject: Every Queue needs to have it's own Listener |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
A client told me that their Network Group has said that every MQ Queue needs to have its own listener.
IMHO, I think this is not best practice but can anyone here think of a valid reason why this is good advice.
They are using a very old version of MQ so the security features of V8 don't apply.
Thoughts? _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Nov 12, 2015 8:43 am Post subject: Re: Every Queue needs to have it's own Listener |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
smdavies99 wrote: |
A client told me that their Network Group has said that every MQ Queue needs to have its own listener. |
Do they not just mean an MDB, which listens on a queue?
Rather than an MDB with a list, which is another and (I understand) discredited practice? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
vennela |
Posted: Thu Nov 12, 2015 8:56 am Post subject: Re: Every Queue needs to have it's own Listener |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
smdavies99 wrote: |
A client told me that their Network Group has said that every MQ Queue needs to have its own listener.
IMHO, I think this is not best practice but can anyone here think of a valid reason why this is good advice.
They are using a very old version of MQ so the security features of V8 don't apply.
Thoughts? |
MQ Listener doesn't make sense
MDB Listener Port or Activation Specification makes sense but not sure if they are referring to the same
Once, there was a talk in our team where every queue wanted their own trigger monitor, which was very soon argued against |
|
Back to top |
|
 |
Vitor |
Posted: Thu Nov 12, 2015 9:05 am Post subject: Re: Every Queue needs to have it's own Listener |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
vennela wrote: |
MDB Listener Port or Activation Specification makes sense but not sure if they are referring to the same |
That's certainly the thing I was trying to articulate, and I thank you for the correct term. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Nov 12, 2015 9:06 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
No MDB's here.
Just MQ and Broker and some Clients connecting to the system. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Nov 12, 2015 9:32 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
smdavies99 wrote: |
No MDB's here.
Just MQ and Broker and some Clients connecting to the system. |
The clients are not Java MDBs?
In which case the Network Group are hopelessly mistaken. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Nov 12, 2015 9:50 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
AFAIK, all the clients are using the MQ Client libraries/jar files even if they are written in Java.
There are less than 20 clients connecting so IMHO there is no need for more listeners. Not all of them are connected all the time. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Nov 12, 2015 10:20 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
A lot of non MQ people use the term "listener" to describe an app polling a queue. Maybe that is what they are referring to? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
smdavies99 |
Posted: Thu Nov 12, 2015 10:36 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
I get the impression that you might be right.
But they really don't know the product. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Nov 12, 2015 1:24 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Verify that they are using Listener as shorthand for the JMS term MessageListener which is an interface in JMS and needs to be implemented to receive asynchronously messages from the queue.
And yes in this case it would most probably be a good practice to have each queue have it's own MessageListener.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Nov 12, 2015 2:26 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
fjb_saper wrote: |
Verify that they are using Listener as shorthand for the JMS term MessageListener which is an interface in JMS and needs to be implemented to receive asynchronously messages from the queue.
And yes in this case it would most probably be a good practice to have each queue have it's own MessageListener.  |
Not to be confused with a channel listener. _________________ 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 |
|
 |
gbaddeley |
Posted: Thu Nov 12, 2015 3:16 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
Sometimes non-MQ-savvy folks use "MQ Queue" to refer to a queue manager. If this is the case, 99.9% of queue managers have a MQ listener (aka runmqlsr / MQ LISTENER object). _________________ Glenn |
|
Back to top |
|
 |
|