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 » Every Queue needs to have it's own Listener

Post new topic  Reply to topic
 Every Queue needs to have it's own Listener « View previous topic :: View next topic » 
Author Message
smdavies99
PostPosted: Thu Nov 12, 2015 8:37 am    Post subject: Every Queue needs to have it's own Listener Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Nov 12, 2015 8:43 am    Post subject: Re: Every Queue needs to have it's own Listener Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Thu Nov 12, 2015 8:56 am    Post subject: Re: Every Queue needs to have it's own Listener Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Vitor
PostPosted: Thu Nov 12, 2015 9:05 am    Post subject: Re: Every Queue needs to have it's own Listener Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Thu Nov 12, 2015 9:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Nov 12, 2015 9:32 am    Post subject: Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Thu Nov 12, 2015 9:50 am    Post subject: Reply with quote

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
View user's profile Send private message
PeterPotkay
PostPosted: Thu Nov 12, 2015 10:20 am    Post subject: Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Thu Nov 12, 2015 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Thu Nov 12, 2015 1:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Thu Nov 12, 2015 2:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
gbaddeley
PostPosted: Thu Nov 12, 2015 3:16 pm    Post subject: Reply with quote

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
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 » Every Queue needs to have it's own Listener
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.