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 » Possiblity of Message lost in MQ

Post new topic  Reply to topic
 Possiblity of Message lost in MQ « View previous topic :: View next topic » 
Author Message
smvineed
PostPosted: Sun Jun 05, 2016 9:51 pm    Post subject: Possiblity of Message lost in MQ Reply with quote

Apprentice

Joined: 24 Jul 2011
Posts: 34

In what scenario MQ messages will be lost, can any of experts explain the scenarios ?

Thanks in Advance
_________________
SMV

If you want it,work for it. it's that simple
Back to top
View user's profile Send private message Send e-mail
exerk
PostPosted: Mon Jun 06, 2016 2:05 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

MQ does not 'lose' messages, period!

There may be circumstances where MQ discards messages however - and those are all explained in the Knowledge Centre (KC).
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
smvineed
PostPosted: Mon Jun 06, 2016 7:09 pm    Post subject: Possiblity of Message lost in MQ Reply with quote

Apprentice

Joined: 24 Jul 2011
Posts: 34

Hi exerk,

Thanks for your reply.


Regards
SMV
Back to top
View user's profile Send private message Send e-mail
zpat
PostPosted: Tue Jun 07, 2016 9:50 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

There is a chance a message was not actually accepted (e.g. queue full or message length too large) and the putting application did not handle the MQRC correctly.

So the application must be coded correctly to handle conditions when the MQPUT does not succeed. Once it does succeed MQ will keep the message in accordance with the documented behaviour.

Depending how resilient your storage hardware is, it's possible to lose both data and log filesystems, but very unlikely if well designed and spread over fault tolerant SAN.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jun 07, 2016 10:07 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

zpat wrote:
There is a chance a message was not actually accepted (e.g. queue full or message length too large) and the putting application did not handle the MQRC correctly.


I always use the post box analogy - if you post a letter and don't see it go through the slot & hit the bottom, you can't expect the postal service to deliver it. If you just throw the message at the slot, miss, see it fall to the ground and then just leave it laying there, the postal service is not going to pick up all the letters scattered round close to the post box.

Once it's in the post box, you can rely on it being delivered. You can't rely on when, and you can't expect the postal service to make the recipient read the letter, just to deliver it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jun 07, 2016 10:14 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

And if you see a lorry plow over the post box just after you've put your letter in...

Err. Sorry. I'm American. A "truck" and a "mailbox".
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jun 07, 2016 12:21 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
And if you see a lorry plow over the post box just after you've put your letter in...


In American, that would be the large blue things you see standing around, not the weird shaped objects outside your house. Going to the blue thing is analogous to making a client connection. If you're using a binding connection (i.e. the thing by your house) you'll easily detect the problem from your window and resend.

mqjeff wrote:
Err. Sorry. I'm American. A "truck" and a "mailbox".


I'm keeping in practice with British terms in case the next President makes my position dodgy by tearing up the 14th Amendment so he can "remove" undocumented chosen classes of people, even those who are raising native born US citizens (who without the protection of the 14th Amendment are just children of undocumented parents).

I'm not "American" in the sense of "my family has been here for n generations" and I'm certainly not as cute as the children in question.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
vsathyan
PostPosted: Tue Jun 07, 2016 10:57 pm    Post subject: Reply with quote

Centurion

Joined: 10 Mar 2014
Posts: 121

What happens when a non-persistent message is posted on the sending side through a remote queue, and the destination queue manager does not have the destination queue defined, and no dead letter queue on destination queue manager...

"Will the post man throw those mails on the road and return home, rather than taking them back to the post office and keep it?" LOL
_________________
Custom WebSphere MQ Tools Development C# & Java
WebSphere MQ Solution Architect Since 2011
WebSphere MQ Admin Since 2004
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jun 08, 2016 4:00 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Fortunately, MQ does not support the model of "what if the postal employee goes nuts and decides to hoard all mail they are handling in their apartment or home".

Nor the more violent methods that postal employees have occasionally gone nuts...
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jun 08, 2016 4:45 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

vsathyan wrote:
"Will the post man throw those mails on the road and return home, rather than taking them back to the post office and keep it?" LOL


Strangely yes....

exerk wrote:

There may be circumstances where MQ discards messages however - and those are all explained in the Knowledge Centre (KC).


Your use case is one such circumstance.

Analogy only goes so far.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Jun 08, 2016 5:56 am    Post subject: Re: Possiblity of Message lost in MQ Reply with quote

Poobah

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

smvineed wrote:
In what scenario MQ messages will be lost, can any of experts explain the scenarios ?

Thanks in Advance

This subject has been discussed here many, many times. It is frequently a job-interview and certification test question.

Have you used the Search option at the top of this page to answer your own question? What were the results of your search?
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Possiblity of Message lost in MQ
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.