Author |
Message
|
Blomman |
Posted: Tue Jan 16, 2007 4:32 am Post subject: Transaction timeout? |
|
|
Master
Joined: 31 Oct 2006 Posts: 230
|
Hi all!
My setup: Broker --> Qmanager.
Is it possible in some way to set a timeout value for transactions on my Qmanger?
/Blomman |
|
Back to top |
|
 |
pathipati |
Posted: Tue Jan 16, 2007 5:12 am Post subject: |
|
|
Master
Joined: 03 Mar 2006 Posts: 296
|
Can you make it little clear? |
|
Back to top |
|
 |
Blomman |
Posted: Tue Jan 16, 2007 5:44 am Post subject: |
|
|
Master
Joined: 31 Oct 2006 Posts: 230
|
pathipati wrote: |
Can you make it little clear? |
Just wondering if it in some way is possible to set a timeout.
If i dont want transaction to run longer then this value, i simply want to cut them of if they are taking too long.
/Blomman |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jan 16, 2007 5:50 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Which transactions? Transactions with MQ? Transactions with a database?
The time it takes your entire flow to execute?
The time it takes to commit all the transactions in your flow after your flow has completed successfully?
Globally coordinated transactions? Locallly coordinated transactions? Uncoordinated transactions?
Which version of Broker? Which version of MQ? What OS? What database or databases? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
elvis_gn |
Posted: Tue Jan 16, 2007 5:52 am Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi Blomman,
Are you trying to implement this transation with MQ or with Broker ?
Broker message flows can be in transaction, and you could perhaps timeout flows to rollback...
What is your exact business requirement....?
Regards. |
|
Back to top |
|
 |
Blomman |
Posted: Tue Jan 16, 2007 6:19 am Post subject: |
|
|
Master
Joined: 31 Oct 2006 Posts: 230
|
elvis_gn wrote: |
Hi Blomman,
Are you trying to implement this transation with MQ or with Broker ?
Broker message flows can be in transaction, and you could perhaps timeout flows to rollback...
What is your exact business requirement....?
Regards. |
Hi im not really sure where i want the transaction to timeout.
And yes its a "Transactions with MQ".
Im simply sending messeges from broker to qmanager and im using a messageflow in the broker too "route" messages too this qmanager.
I just want the transactions for the messages too timeout.
/Blomman |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jan 16, 2007 6:25 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Blomman wrote: |
Im simply sending messeges from broker to qmanager and im using a messageflow in the broker too "route" messages too this qmanager.
I just want the transactions for the messages too timeout.
|
Why? Isn't the whole point of MQ that messages take as long as they take to arrive, but always do in the end? If you terminate the sending from the flow, how will you compensate for that with the input transaction?
Blomman wrote: |
Hi im not really sure where i want the transaction to timeout. |
I think if you put a little more thought into "where" and importantly "why" (in terms of business logic), the "how" will become a lot clearer. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Blomman |
Posted: Tue Jan 16, 2007 6:58 am Post subject: |
|
|
Master
Joined: 31 Oct 2006 Posts: 230
|
Vitor wrote: |
Why? Isn't the whole point of MQ that messages take as long as they take to arrive, but always do in the end? If you terminate the sending from the flow, how will you compensate for that with the input transaction?
|
True! But idont know why the app developers want this function i have told them the same thing u told me..
/Blomman |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jan 16, 2007 7:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Blomman wrote: |
Vitor wrote: |
Why? Isn't the whole point of MQ that messages take as long as they take to arrive, but always do in the end? If you terminate the sending from the flow, how will you compensate for that with the input transaction?
|
True! But idont know why the app developers want this function i have told them the same thing u told me..
/Blomman |
So until they come up with their requirements how can you possibly provide a solution? Even assuming the solution properly sits within the middleware layer?? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|