Author |
Message |
Topic: Transactions within mqseries |
Daniel Shaya
Replies: 29 Views: 13513
|
Forum: IBM MQ Java / JMS Posted: Wed Jul 12, 2006 4:58 am Subject: Transactions within mqseries |
Thanks
Do you commit by calling commit() on the queueManager? I'm using the Java API on MQSeries. |
Topic: Transactions within mqseries |
Daniel Shaya
Replies: 29 Views: 13513
|
Forum: IBM MQ Java / JMS Posted: Wed Jul 12, 2006 1:12 am Subject: Transactions within mqseries |
Sorry,
I am clearly missing something here but:
I thought we established that syncpoint can only be used if the queue is running onthe same box.
What is the difference between using syncpoint ... |
Topic: Transactions within mqseries |
Daniel Shaya
Replies: 29 Views: 13513
|
Forum: IBM MQ Java / JMS Posted: Wed Jul 12, 2006 12:35 am Subject: Transactions within mqseries |
Thanks for your advice.
2 Questions:
1) How exactly do I use synchpoint (if possible code example) when doing a get.
2) Will this work in my case, where I want to take many items off a queu ... |
Topic: Transactions within mqseries |
Daniel Shaya
Replies: 29 Views: 13513
|
Forum: IBM MQ Java / JMS Posted: Tue Jul 11, 2006 5:59 am Subject: Transactions within mqseries |
I think my best bet is get an MQQueueManager installed on my client box, then I can use the built in transaction methods on the API.
I hope getting this 'proxy' queueManager installed is not too di ... |
Topic: Transactions within mqseries |
Daniel Shaya
Replies: 29 Views: 13513
|
Forum: IBM MQ Java / JMS Posted: Tue Jul 11, 2006 5:27 am Subject: Transactions within mqseries |
MVIC,
I am slighlty confused again, I thought we said that if the queueManager was not running on my box I had to use the ETC. I would much rather use the begin() close() backout() methods on the ... |
Topic: Transactions within mqseries |
Daniel Shaya
Replies: 29 Views: 13513
|
Forum: IBM MQ Java / JMS Posted: Tue Jul 11, 2006 5:06 am Subject: Transactions within mqseries |
Thanks again for your replies - I am starting to get the picture.
I do need to update a database with the messages (which is why I want to pull off more than one at a time), and can't run the queue ... |
Topic: Transactions within mqseries |
Daniel Shaya
Replies: 29 Views: 13513
|
Forum: IBM MQ Java / JMS Posted: Tue Jul 11, 2006 3:20 am Subject: Transactions within mqseries |
To clarfiy,
In my example where I need to get a number of items off the queue in one transaction, would I be able to do this without a two phase commit. If I can do this without a 2 phase commit h ... |
Topic: Transactions within mqseries |
Daniel Shaya
Replies: 29 Views: 13513
|
Forum: IBM MQ Java / JMS Posted: Tue Jul 11, 2006 3:11 am Subject: Transactions within mqseries |
So does this mean that if I'm not on the same machine as my queueManager (which I would imagine to be the norm) I can't use transactions (at least not tyhe begin method).
This seems strange to me - ... |
Topic: Transactions within mqseries |
Daniel Shaya
Replies: 29 Views: 13513
|
Forum: IBM MQ Java / JMS Posted: Tue Jul 11, 2006 3:02 am Subject: Transactions within mqseries |
Thanks again that was really helpful.
I wonder if you could just explain one thing.
The following is what was written about the begin() method on the MQQueueManager:
Begins a new unit of wor ... |
Topic: Transactions within mqseries |
Daniel Shaya
Replies: 29 Views: 13513
|
Forum: IBM MQ Java / JMS Posted: Tue Jul 11, 2006 2:38 am Subject: Transactions within mqseries |
Thanks
Where do I find the manual - is it online? |
Topic: Transactions within mqseries |
Daniel Shaya
Replies: 29 Views: 13513
|
Forum: IBM MQ Java / JMS Posted: Tue Jul 11, 2006 1:50 am Subject: Transactions within mqseries |
I'm pretty new to MQSeries so excuse me if the answer to this is trivial.
What I'd like to do is to read a number of messages off the queue and for them to be 'transactionally safe'. i.e. If my pr ... |