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 » IBM MQ Java / JMS » Message file store

Post new topic  Reply to topic
 Message file store « View previous topic :: View next topic » 
Author Message
tborrome
PostPosted: Mon Apr 22, 2002 1:11 pm    Post subject: Reply with quote

Novice

Joined: 03 Apr 2002
Posts: 17

I'm using persistent messages for my JMS application. I see that the messages are getting persisted in the file: C:MQSeriesqmgrsQM_tyrone_ntQUEUES@MANGLED\0E000000Q

Some questions:
1) Is there a way to change this default location?
2) Does anyone know how MQseries persist messages? Does it do synchronous IO or async?

Thanks,
Tyrone

Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
StefanSievert
PostPosted: Mon Apr 22, 2002 3:23 pm    Post subject: Reply with quote

Partisan

Joined: 28 Oct 2001
Posts: 333
Location: San Francisco

Quote:

On 2002-04-22 14:11, tborrome wrote:
1) Is there a way to change this default location?

I am assuming Windows as your platform and the answer in that case is yes. When you've installed the product, it asked you for a program file and a data directory. The data directory is the one where the object definitions get created. You can probably change the location after the fact by bringing down the queue manager, copying some directories and doing some 'dirty' registry updates, but the usual disclaimer applies to that procedure...
Quote:

2) Does anyone know how MQseries persist messages? Does it do synchronous IO or async?

My statement to this question would be: Persitent messages are synchronously hardened to the log file, NOT necessarily the Q file you mentioned during MQPUT processing; i.e. when you get a MQCC_OK, the message has been persisted to the log. It won't work any other way, I guess. Now, when the message will be written to the Q file is most likely an asynchronous process run by the MQSeries code based on log usage and other (performance related?) considerations that shouldn't be of any concern from an application programming perspective. Where does you interest in this come from, has any 'strange' behavior occurred in your environment?
Hopefully somebody will jump in if I talk complete nonsense here.
Cheers,
Stefan

_________________
Stefan Sievert
IBM Certified * MQSeries

In the end everything is right. If not, it's not the end.

[ This Message was edited by: StefanSievert on 2002-04-22 16:24 ]
Back to top
View user's profile Send private message
tborrome
PostPosted: Tue Apr 23, 2002 6:09 am    Post subject: Reply with quote

Novice

Joined: 03 Apr 2002
Posts: 17

Stefan,
Thanks for your replies. I'm asking about the persistent mechanism because I'm concerned about the quality of service - how does MQseries assure that the persisted messages can survive a crash. My application needs to make sure that all persisted messages get recovered in case the system crashes. If it does synchronous IO, I believe that this is safe but if it's asynchronous, there may be some messages that do not get recovered. Do you know where this is documented?

thanks and regards,
Tyrone



Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Message file store
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.