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 API Support » Serializing an MQQueueManager

Post new topic  Reply to topic
 Serializing an MQQueueManager « View previous topic :: View next topic » 
Author Message
jared_hagel
PostPosted: Fri Jul 02, 2004 8:16 am    Post subject: Serializing an MQQueueManager Reply with quote

Apprentice

Joined: 23 Jun 2004
Posts: 29

Does anybody know if an MQQueueManager can be serialized to disk? I don't beleive it uses the Serializable attribute.

I need to save the state of an instance of MQQueueManager between the Queue Manager's commit & backout calls.

Thanks!
Jared Hagel
Back to top
View user's profile Send private message Send e-mail
RogerLacroix
PostPosted: Fri Jul 02, 2004 8:48 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Why do you need to do this?

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Fri Jul 02, 2004 9:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yeah, this seems... umm... a bit subject to problems...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
jared_hagel
PostPosted: Fri Jul 02, 2004 11:19 am    Post subject: Reply with quote

Apprentice

Joined: 23 Jun 2004
Posts: 29

Yes, it is a strange situation. I will explain it as concisely as possible.

My company is looking for a way to place the MQ Client on Windows and the MQ Server on UNIX. We want to perform MQ Operations within a transaction as well.

We discovered that the MQ Extended Transactional Client may solve this problem, but that this product doesn't yet support Microsoft transactions (MTS). An alternative I've been looking into is developing our own Resource Manager for the MQ Client. Microsoft provides an easy way to do this using its CRM (Compensating Resource Manager) framework.

The CRM can participate in a Microsoft transaction without a problem. The problem is that the CRM only allows state to be saved by writing to the hardrive. I need to save the state of a MQQueueManager between normal MQ operations (Put, Get, etc) and MQQueueManager.Commit() or MQQueueManager.Backout().

So I thought I could use the CRM to perform several MQ operations, then serialize the MQQueueManager to disk, and later complete the transaction with a Commit or Backout.

Thanks a lot!
Jared Hagel
IS Systems Analyst
Canadian Pacific Railway
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » Serializing an MQQueueManager
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.