|  | 
 
  
    | RSS Feed - WebSphere MQ Support | RSS Feed - Message Broker Support |  
 
  
	|    |  |  
  
	| about syncpoint option | « View previous topic :: View next topic » |  
  	| 
		
		
		  | Author | Message |  
		  | jillayuvaraj | 
			  
				|  Posted: Mon Dec 17, 2001 12:31 am    Post subject: |   |  |  
		  | Newbie
 
 
 Joined: 09 Dec 2001Posts: 8
 Location: Domex Infotech, India
 
 | 
			  
				| hi, 
 why do we need syncpoint option for a message to be put, i mean in what situation can we use it, please gimme some examples
 
 yuvaraj
 |  |  
		  | Back to top |  |  
		  |  |  
		  | PeterPotkay | 
			  
				|  Posted: Mon Dec 17, 2001 7:34 am    Post subject: |   |  |  
		  |  Poobah
 
 
 Joined: 15 May 2001Posts: 7723
 
 
 | 
			  
				| put a message to a queue and then write a row to the database if the database update fails, u want to "recall" that message on the queue.
 if u put it under syncpoint, u can.
 
 now, in general, i tell applications to always to the mqput of the message LAST, after they have succefully done all their other stuff. this way they don't have to deal with worrying about having to recall the mq message. i rarely find myself having to syncpoint a put, but almost always syncpoint a get. note if u syncpoint your gets, you probably should also check the MQMD_BACKOUTCOUNT after each get to prevent poisened message loops.
 
 actually, 1 good place for put syncpoints is when u need to put to 2 queues and you don't want the 1 st message to reaaly go until you are sure the second made it to the queue succesfully.
 
 
 _________________
 Peter Potkay
 Keep Calm and MQ On
 |  |  
		  | Back to top |  |  
		  |  |  
		  | LCP01D | 
			  
				|  Posted: Mon Dec 17, 2001 10:15 am    Post subject: |   |  |  
		  | Newbie
 
 
 Joined: 11 Dec 2001Posts: 4
 
 
 | 
			  
				| While we're on the subject... Anyone ever had any problem with Syncpoint operations not working consistantly after upgrading to V5.2???? Thanks, Markus. |  |  
		  | Back to top |  |  
		  |  |  
		  | bduncan | 
			  
				|  Posted: Mon Dec 17, 2001 6:52 pm    Post subject: |   |  |  
		  | Padawan
 
 
 Joined: 11 Apr 2001Posts: 1554
 Location: Silicon Valley
 
 | 
			  
				| Could you give a little more detail about syncpoints "not working" under 5.2? Are you getting Reason codes, FDCs, etc?? Also what platform are you on?
 
 
 _________________
 Brandon Duncan
 IBM Certified MQSeries Specialist
 MQSeries.net forum moderator
 |  |  
		  | 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
 
 |  |  |  |