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 » Search

 Search found 11 matches
Author Message
  Topic: giving syncpoint after another syncpoint without commit ...
strom

Replies: 24
Views: 11665

PostForum: IBM MQ Java / JMS   Posted: Fri Apr 11, 2008 2:03 am   Subject: giving syncpoint after another syncpoint without commit ...
OK VITOR they are same ..



But can there be no other reason ?...

i mean other than
a) environment or
b) implicit commit in CLOSE connection ? ...
  Topic: giving syncpoint after another syncpoint without commit ...
strom

Replies: 24
Views: 11665

PostForum: IBM MQ Java / JMS   Posted: Fri Apr 11, 2008 1:01 am   Subject: giving syncpoint after another syncpoint without commit ...
So Implicit commit in CLOSE connection to MQmanager could have been the only way this thing to happen ?...


also Vitor this piece of code runs on atleast 3 machines ...

1) one on our dev envir ...
  Topic: giving syncpoint after another syncpoint without commit ...
strom

Replies: 24
Views: 11665

PostForum: IBM MQ Java / JMS   Posted: Thu Apr 10, 2008 7:21 pm   Subject: giving syncpoint after another syncpoint without commit ...
Syncpoint is added to make the code generalised . it seems ...

For now the code is used in an application where each message sent to MQ is a seperate transaction ....

but this code could be ...
  Topic: giving syncpoint after another syncpoint without commit ...
strom

Replies: 24
Views: 11665

PostForum: IBM MQ Java / JMS   Posted: Thu Apr 10, 2008 3:21 am   Subject: giving syncpoint after another syncpoint without commit ...
Another query ....


1 ) What will happens if explicit commit is made after multiple syncpoints ?.....

a) from which syncpoint are the messages actually visible ?..

b) do the syn ...
  Topic: giving syncpoint after another syncpoint without commit ...
strom

Replies: 24
Views: 11665

PostForum: IBM MQ Java / JMS   Posted: Thu Apr 10, 2008 3:04 am   Subject: giving syncpoint after another syncpoint without commit ...
Yeah vitor i sort of get that point your trying to get at ...

that somehow set of circumstances have been created in the envionment where i am using this application that is leading to this implic ...
  Topic: giving syncpoint after another syncpoint without commit ...
strom

Replies: 24
Views: 11665

PostForum: IBM MQ Java / JMS   Posted: Thu Apr 10, 2008 2:37 am   Subject: giving syncpoint after another syncpoint without commit ...
yeah i get the point ...

i would also not rely on an implicit commit ...

but i am trying to analyse how the code exactly gets away without an
explicit commit

i will be adding an explicit c ...
  Topic: giving syncpoint after another syncpoint without commit ...
strom

Replies: 24
Views: 11665

PostForum: IBM MQ Java / JMS   Posted: Thu Apr 10, 2008 2:29 am   Subject: giving syncpoint after another syncpoint without commit ...
Vitor wrote
Disconnecting can cause an implicit commit


So the reason for the code to commit data without an explicit commit is that Disconnecting can cause an implicit commit ? ...

do ...
  Topic: giving syncpoint after another syncpoint without commit ...
strom

Replies: 24
Views: 11665

PostForum: IBM MQ Java / JMS   Posted: Thu Apr 10, 2008 1:57 am   Subject: giving syncpoint after another syncpoint without commit ...
jefflowrey wrote

commits can be done when a disconnect occurs.


are you saying that all messages are commited by default when one closes a connection to a queue ? or a queue manager ?... ...
  Topic: giving syncpoint after another syncpoint without commit ...
strom

Replies: 24
Views: 11665

PostForum: IBM MQ Java / JMS   Posted: Wed Apr 09, 2008 11:17 pm   Subject: giving syncpoint after another syncpoint without commit ...
1) Each message that is posted in the loop is a different transaction ..

it need not wait for other message to get committed ...

2) actually the logic i have said belongs to a code i am analys ...
  Topic: giving syncpoint after another syncpoint without commit ...
strom

Replies: 24
Views: 11665

PostForum: IBM MQ Java / JMS   Posted: Wed Apr 09, 2008 10:53 pm   Subject: giving syncpoint after another syncpoint without commit ...
PeterPotkay wrote :
whatever your next line of code is

not commited, not lost.

that means
a) Till i dont commit , the messages will not be visible to the other application ?...

b) ...
  Topic: giving syncpoint after another syncpoint without commit ...
strom

Replies: 24
Views: 11665

PostForum: IBM MQ Java / JMS   Posted: Wed Apr 09, 2008 10:21 pm   Subject: giving syncpoint after another syncpoint without commit ...
Hi all ,
I am new to all this ,

I had a doubt ...

I sort of have a loop which posts messages in MQ ( transaction wise) in which i

1) putmessageoptions is set having MQC.MQPMO_SYNCP ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.