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 » Question on Message Priority

Post new topic  Reply to topic
 Question on Message Priority « View previous topic :: View next topic » 
Author Message
hari_k98
PostPosted: Wed Oct 24, 2012 8:48 pm    Post subject: Question on Message Priority Reply with quote

Novice

Joined: 13 Jul 2007
Posts: 14
Location: India

Hi
I have a custom application Which does the following:

1) Read from Q1.
2) Validate the message.
3) Write into Q2.
4) Read from Q2 and perform some more checks.

The issue is the application takes lot of time to do the step 4. So the message backlog happens during peakload. It takes up 2 hrs to clear the messages during peak load.This has financial implications to the client for certain type of messages.

To overcome this we thought of using message priority to expedite certain type of messages.

Now the issue is the application mentioned above cannot be modified.It does not allow any change to queue details.

Is it possible to carry forward message priority so that if I write to Q1 the same will be replicated for Q2.

It will be helpful if some body can suggest to achieve priority in Queue Q2


Thanks

Hari
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Oct 24, 2012 9:06 pm    Post subject: Re: Question on Message Priority Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9472
Location: US: west coast, almost. Otherwise, enroute.

hari_k98 wrote:
Hi
I have a custom application Which does the following:

1) Read from Q1.
2) Validate the message.
3) Write into Q2.
4) Read from Q2 and perform some more checks.

One application does this? It writes a message to Q2; then reads the same message from Q2?

hari_k98 wrote:
The issue is the application takes lot of time to do the step 4. So the message backlog happens during peakload. It takes up 2 hrs to clear the messages during peak load.This has financial implications to the client for certain type of messages.

To overcome this we thought of using message priority to expedite certain type of messages.

Now the issue is the application mentioned above cannot be modified.It does not allow any change to queue details.


hari_k98 wrote:
Is it possible to carry forward message priority so that if I write to Q1 the same will be replicated for Q2.

What do you mean by "carry forward"? Do you intend in a new application to capture the messages before they arrive in Q1, then change priority, then put the message to Q1?

hari_k98 wrote:
It will be helpful if some body can suggest to achieve priority in Queue Q2


Thanks

Hari

_________________
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
hari_k98
PostPosted: Wed Oct 24, 2012 9:26 pm    Post subject: Reply with quote

Novice

Joined: 13 Jul 2007
Posts: 14
Location: India

Thanks for your reply.

It is a third party product with multiple services.
The message is a SWIFT Type.This goes through two step checks.
Once from Q1 then followed by Q2. The second step involves a time consuming checks for the messages. Here the back log is heavy during peak.
So messages needs to be prioritized at Q2.

"What do you mean by "carry forward"? Do you intend in a new application to capture the messages before they arrive in Q1, then change priority, then put the message to Q1? "

Yes if this is possible.
This avoids the dependence on the third party vendor.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 25, 2012 12:13 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I think the question becomes how does the app read the message from Q2?

Is it by checking for some content, and if yes what content? Did the first app set up this content as a message property? Is it by messageId, by correlationId or just by first come, first serve?

As you're talking about SWIFT I guess that the order in Q2 might matter. If it does not, why don't you scale the app reading from Q2 during peak time?


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
hari_k98
PostPosted: Thu Oct 25, 2012 8:43 pm    Post subject: Reply with quote

Novice

Joined: 13 Jul 2007
Posts: 14
Location: India

The Scaling up the application is the right solution but it is going to take time.
Mean time to avoid the penalties for messages from specific country we are trying to priroritize those messages.
Currently the messages are read as FIFO from the Queue Q2.

because of this Iam looking at a temporary fix putting the messages into Q1 with priority which can be carried forward to Q2

Thanks
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 » Question on Message Priority
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.