Author |
Message
|
flaufer |
Posted: Fri Oct 19, 2012 2:07 am Post subject: how to disable priority? |
|
|
 Acolyte
Joined: 08 Dec 2004 Posts: 59
|
Folks,
I was wondering, if there was a possibility to disable priority on incoming messages...
Scenario:
We have several customers sending us messages. Once they have been handed over to our MQ Gateway, there are routed to different back end applications. There are cases when two customers share one inbound queue of such a backend application.
We are aware that a few customers send us messages with message priority specified in the message header, but internally we do not want to make use of priority at all.
How can we prevent that specific customers send us messages that bypass messages sent by other customers? (all customers should be treated the same).
Idea #1:
Define all local and transmit queues in the whole landscape to use messagedeliverysequence=FIFO.
Idea #2:
Define all queuemanagers in the whole landscape to have a maximum priority of 0. What happens with messages coming from a remote queuemanager? Will they be processed and treated with prio=0?
Idea #3:
Define message exits on the receiver channel from the customer resetting all priorities in the msg header to 0.
I suspect #3 would the ideal solution right out of the textbook.
Any other ideas or thoughts would be very helpful.
Felix |
|
Back to top |
|
 |
zpat |
Posted: Fri Oct 19, 2012 2:26 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Changing the local queues to delivery sequence FIFO seems the safest option to me.
If you change your SYSTEM.DEFAULT.LOCAL.QUEUE as well - then any new queues will have that option. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Oct 19, 2012 5:05 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
zpat wrote: |
Changing the local queues to delivery sequence FIFO seems the safest option to me.
If you change your SYSTEM.DEFAULT.LOCAL.QUEUE as well - then any new queues will have that option. |
This allows you to keep the application processing queue on priority and as such respect the wishes of the sending app.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
flaufer |
Posted: Fri Oct 19, 2012 5:45 am Post subject: |
|
|
 Acolyte
Joined: 08 Dec 2004 Posts: 59
|
fjb_saper wrote: |
zpat wrote: |
Changing the local queues to delivery sequence FIFO seems the safest option to me.
If you change your SYSTEM.DEFAULT.LOCAL.QUEUE as well - then any new queues will have that option. |
:iagree:
This allows you to keep the application processing queue on priority and as such respect the wishes of the sending app. :innocent: |
But this is exactly what I want to avoid (alowing customer to put prio 9 on all of their messages because it won't hurt). All customers are equal.
Maybe somebody will figure out that we could charge for priorities :) But this is not the original intention.
Felix |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Oct 19, 2012 5:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
flaufer wrote: |
But this is exactly what I want to avoid (alowing customer to put prio 9 on all of their messages because it won't hurt). All customers are equal.
Maybe somebody will figure out that we could charge for priorities But this is not the original intention.
Felix |
Well, you have to educate your customers about priorities.
9- should be for the admin only
8- urgent on-line
....
0- batch... _________________ MQ & Broker admin |
|
Back to top |
|
 |
flaufer |
Posted: Fri Oct 19, 2012 5:57 am Post subject: |
|
|
 Acolyte
Joined: 08 Dec 2004 Posts: 59
|
fjb_saper wrote: |
flaufer wrote: |
But this is exactly what I want to avoid (alowing customer to put prio 9 on all of their messages because it won't hurt). All customers are equal.
Maybe somebody will figure out that we could charge for priorities :) But this is not the original intention.
Felix |
Well, you have to educate your customers about priorities.
9- should be for the admin only
8- urgent on-line
....
0- batch... |
I got you... but what about customers I can't educate or that don't want to be educated?
After all, they're customers, so I'd not be willing to tell them what evil admin soul they have hired to administer their MQ systems. I just would like to tell MQ not to care about priorities at all. Everywhere.
Felix |
|
Back to top |
|
 |
Vitor |
Posted: Fri Oct 19, 2012 6:14 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
flaufer wrote: |
I got you... but what about customers I can't educate or that don't want to be educated? |
You reach for the Trout Of Teaching and ask yourself how much you need these customers.
flaufer wrote: |
After all, they're customers, so I'd not be willing to tell them what evil admin soul they have hired to administer their MQ systems. |
MQ admins are not evil, any more than that teacher when you were young was evil. He was just trying to teach you something you didn't want to know or didn't want to believe was true.
(Apart from that one guy who was just evil........)
They have not just hired you to administer their MQ estate; they've hired you to show them how to make it better. If they have in fact just hired you to administer the estate, why are you worried? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Oct 19, 2012 6:16 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
There are two classes of solutions: technical and political.
The technical solution, as suggested, is to set the message-delivery queue attribute to FIFO. This guarantees that messages will be delivered out of the queue (consumed) first-in, first-out.
The issue is political. Your customers, and their apps, are affecting service-levels by fiddling with message priority. Does your organization have service-level agreements (SLAs)? If so, you cannot fix this. This needs to be escalated to management. _________________ 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 |
|
 |
|