|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Serializing an MQQueueManager |
« View previous topic :: View next topic » |
Author |
Message
|
jared_hagel |
Posted: Fri Jul 02, 2004 8:16 am Post subject: Serializing an MQQueueManager |
|
|
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 |
|
 |
RogerLacroix |
Posted: Fri Jul 02, 2004 8:48 am Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 02, 2004 9:21 am Post subject: |
|
|
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 |
|
 |
jared_hagel |
Posted: Fri Jul 02, 2004 11:19 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|