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 » Persistence

Post new topic  Reply to topic Goto page 1, 2, 3  Next
 Persistence « View previous topic :: View next topic » 
Author Message
voyager
PostPosted: Mon Jun 06, 2005 4:59 am    Post subject: Persistence Reply with quote

Centurion

Joined: 28 Dec 2004
Posts: 127

All,
I have a question with persistence on MQ Queues. I have turned on the property
'Default Persistence' to 'Persistent' on some of the MQ Queues.

I rebooted the machine. After the machine got rebooted, the messages are lost on those queues.
Is there any way to keep the messages even after the machine gets rebooted?
I was under the impression that by keeping the property 'Persistent' on MQ Queue,
I could retain the messages on the Queue.

Any suggetions/ideas greatly appreciated.

Thank you!

_________________
voyager
Back to top
View user's profile Send private message
kevinf2349
PostPosted: Mon Jun 06, 2005 5:05 am    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

Persistence is determined by the message not the queue.

Check to see if the application is setting the persistence.
Back to top
View user's profile Send private message
voyager
PostPosted: Mon Jun 06, 2005 5:29 am    Post subject: Reply with quote

Centurion

Joined: 28 Dec 2004
Posts: 127

So, I have to check if the application that is putting the message in the queue is using persistence or not? Is that right?

Actually, there is a program on AS/400 that is putting the messages in MQ Q's.

Thank you,

_________________
voyager
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jun 06, 2005 5:46 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

voyager wrote:
So, I have to check if the application that is putting the message in the queue is using persistence or not? Is that right?

Yes.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
voyager
PostPosted: Mon Jun 06, 2005 5:48 am    Post subject: Reply with quote

Centurion

Joined: 28 Dec 2004
Posts: 127

Thank you all for your valuable comments
_________________
voyager
Back to top
View user's profile Send private message
JT
PostPosted: Mon Jun 06, 2005 5:49 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Quote:
So, I have to check if the application that is putting the message in the queue is using persistence or not? Is that right?

You could also browse the message in the queue to view the persistence setting, using tools like MQExplorer or RFHUTILC.
Back to top
View user's profile Send private message
voyager
PostPosted: Mon Jun 06, 2005 6:10 am    Post subject: Reply with quote

Centurion

Joined: 28 Dec 2004
Posts: 127

Yes,
I did browse the Queue and looked at the message. It is showing 'Not Persistent'
Thank you,

_________________
voyager
Back to top
View user's profile Send private message
voyager
PostPosted: Mon Jun 06, 2005 9:41 am    Post subject: Reply with quote

Centurion

Joined: 28 Dec 2004
Posts: 127

All,
I am back with the same question. In our system, we have an AS/400 system from where
an AS/400 program writes messages to a remote Queue and then the messages are pushed
from the remote Queue via Xmit Queue to the In-Queue on Windows server.

Interchange Server on Windows Server reads the In-Queue and consumes them.

Question: AS/400 program that writes messages to remote Queue is only responsible
for making the message persistent or not persistent on AS/400 box.
But once the messages leave AS/400 system and come onto Windows system, then Windows system
should take care of the 'Persistency'. So, in order to make the messages in the Queue
persistent on Windows system, I gave the default persistence property to 'Persistent'.

But, when I rebooted the system, the messages did not stay in the Queue.
Since the messages are coming from a remote AS/400 system, I appreciate,
if anybody could suggest me a workaround to make the messages persistent.


Thank you!

_________________
voyager
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Jun 06, 2005 9:44 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

voyager wrote:
AS/400 program that writes messages to remote Queue is only responsible for making the message persistent or not persistent on AS/400 box. But once the messages leave AS/400 system and come onto Windows system, then Windows system should take care of the 'Persistency'.


If your AS/400 program is marking the messages as persistent, then they should show up as persistent on the Windows machine. WMQ isn't going to change the persistence of a message on you.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
voyager
PostPosted: Mon Jun 06, 2005 10:11 am    Post subject: Reply with quote

Centurion

Joined: 28 Dec 2004
Posts: 127

No,
AS/400 program which is responsible for putting the message in the MQ Queue is not marking
the message as 'Persistent'. Can we try another trick like making the Xmit Queue on AS/400 as persistent?
Do you think that would make the message on WMQ also persistent?

Thank you,

_________________
voyager
Back to top
View user's profile Send private message
EddieA
PostPosted: Mon Jun 06, 2005 10:22 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Quote:
AS/400 program which is responsible for putting the message in the MQ Queue is not marking the message as 'Persistent'

In which case the message is picking up the "default" persistence of the Remote Q that the message is being put to. It is this queue that you should change the default persistence to Persistent.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0


Last edited by EddieA on Mon Jun 06, 2005 10:23 am; edited 2 times in total
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Jun 06, 2005 10:22 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

If you make the QUEUE as DEFPSIST as YES and in the program don't define any persistence options for message, then the messages will be persistent.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Mon Jun 06, 2005 10:51 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

If the application is explicitly setting Persistance to Non-Persistant, there is nothing you can do to correct this.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
voyager
PostPosted: Mon Jun 06, 2005 10:52 am    Post subject: Reply with quote

Centurion

Joined: 28 Dec 2004
Posts: 127

Thank you all,
I would speak to AS/400 Sys. Admin to make to the Remote Queue on AS/400 PERSISTENT
and see if WMQ make the messages on the Queues PERISTENT.

Thank you very much once again for your valuable suggestions!

_________________
voyager
Back to top
View user's profile Send private message
voyager
PostPosted: Mon Jun 06, 2005 11:22 am    Post subject: Reply with quote

Centurion

Joined: 28 Dec 2004
Posts: 127

All,
Back on the same problem. I contacted AS/400 Admin to set the
Quote:
Persistency

on Remote Queues. But, still the messages that are coming into WMQ are marked as
Quote:
Not Persistent


Any ideas greatly apperciated.

Thank you,

_________________
voyager
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2, 3  Next Page 1 of 3

MQSeries.net Forum Index » General IBM MQ Support » Persistence
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.