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 Discussion » Unable to get MQ message

Post new topic  Reply to topic
 Unable to get MQ message « View previous topic :: View next topic » 
Author Message
nylecaj
PostPosted: Sun Apr 08, 2007 8:26 pm    Post subject: Unable to get MQ message Reply with quote

Newbie

Joined: 08 Apr 2007
Posts: 4

Hi,

I would like to know what are the possible reasons why I'm unable to get MQ message given the right queue and this is not the first time I'm getting the MQ message from AS400.

I would like to know what happens to the messages in the MQ message queue if all/any subsystems are ended? Will the messages still in the MQ queue until I get the MQ message? Or the messages in the MQ queue will be lost?

Any advice will be greatly appreciated!

Thanks and Regards,
Buru.
Back to top
View user's profile Send private message
Mensch
PostPosted: Sun Apr 08, 2007 11:40 pm    Post subject: Reply with quote

Disciple

Joined: 17 Jul 2005
Posts: 166

Non Persistent messages are lost and Persistent messages are logged in hard drive.
_________________
Thanks and Regards ,
Mensch
Back to top
View user's profile Send private message
Mensch
PostPosted: Sun Apr 08, 2007 11:43 pm    Post subject: Reply with quote

Disciple

Joined: 17 Jul 2005
Posts: 166

http://www.mqseries.net/phpBB2/viewtopic.php?t=32834
_________________
Thanks and Regards ,
Mensch
Back to top
View user's profile Send private message
nylecaj
PostPosted: Sun Apr 08, 2007 11:55 pm    Post subject: Reply with quote

Newbie

Joined: 08 Apr 2007
Posts: 4

Thanks alot Mensch for the above link!

After reading the above link that you have posted, can I confirm with you that under normal cases if messages are still in the queue, if I end and start the subsystems my messages in the queue will not exist anymore?

Kindly advise.

Thanks and Regards,
Buru.
Back to top
View user's profile Send private message
Mensch
PostPosted: Mon Apr 09, 2007 12:03 am    Post subject: Reply with quote

Disciple

Joined: 17 Jul 2005
Posts: 166

If you restart your Queue manager hosting your queues or restart mqseries services you will loose Non Persistent messages .
_________________
Thanks and Regards ,
Mensch
Back to top
View user's profile Send private message
nylecaj
PostPosted: Mon Apr 09, 2007 12:28 am    Post subject: Unable to get MQ message : Non Persistant Messages Reply with quote

Newbie

Joined: 08 Apr 2007
Posts: 4

Mensch wrote:
If you restart your Queue manager hosting your queues or restart mqseries services you will loose Non Persistent messages .


Sorry Mensch, one last question, I don't really understand what does it mean by Non Persistant messages and Persistant messages? I always think that as long as we put the message into the AS400, it should be there unless we issued a Get request to retrieve the message only then it will be gone from the message queue?

Many thanks again for your advice.

Regards,
Buru.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 09, 2007 12:32 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The exact difference between persistent messages and non-persistent messages is that non-persistent messages will NOT be there after restart.

(except for a few specific circumstances, don't worry about those.)

Persistence is something that is set on each individual message, and controlled by the application. The application can choose to delegate that decision to the MQ administrator by setting persistence to "as queue definition".
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
nylecaj
PostPosted: Mon Apr 09, 2007 12:37 am    Post subject: Unable to get MQ message Reply with quote

Newbie

Joined: 08 Apr 2007
Posts: 4

Thanks alot to Mensch and jefflowrey!
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Apr 10, 2007 4:52 pm    Post subject: Reply with quote

Guest




Persistence is usually set by the programmer in the Message Descriptor.

The programmer has three choices each message put to a queue:
1. this message is persistent,
2. this message is non-persistent,
3. persistence is to be taken from the so-called default persistence attribute of the queue.

NPMCLASS(HIGH) queue attribute directs the queue manager to treat non-persistent messages in this queue as if they were persistent: don't purge them at queue manager restart. BUT NPMCLASS(HIGH) only applies if the queue manager quiesces normally. If the queue manager quiesces abnormally, the non-persistent messages might be lost.
Back to top
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Unable to get MQ message
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.