|   | 
	 
  
    | 
RSS Feed - WebSphere MQ Support
 | 
RSS Feed - Message Broker Support
 |   
 
  
	     | 
	 | 
   
 
  
	|  MQ client connection and syncpoint commit in Linux | 
	« View previous topic :: View next topic »  | 
   
  
  	
	  
		
		
		  | Author | 
		  Message
		 |  
		
		  | s.lakshmi66 | 
		  
		    
			  
				 Posted: Sat Feb 24, 2018 8:14 am    Post subject: MQ client connection and syncpoint commit in Linux | 
				     | 
			   
			 
		   | 
		 
		
		   Newbie
 
 Joined: 24 Feb 2018 Posts: 1
  
  | 
		  
		    
			  
				We have an  MQ server installation and our application connects local y to the QM  and hence -  QMBEGIN, MQGET and MQ PUT with syncpoint commit worked as expected  ( to avoid any data loss) . 
 
 
Now we have to migrate  our application to connection to a remote  QM using MQ client connection . Hence MQBEGIN with syncpoint control is not supported. 
 
 
The application uses MQ c/c++ API  in Linux system  and has no other resource  manager  as  it is not required. 
 
 
How can the unit of work be managed with MQ client  Version 8.0.0.5 ? 
 
 
What are possibilities  for  installation of a transaction manager in a distributed env. 
 
 
I have read  - that Extended MQ client  needs to be enabled . I it sufficient or Do we need to install an XA compliant transaction manager like ' BEA Tuxedo MQ adapter ' or  Websphere Application Server . | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | bruce2359 | 
		  
		    
			  
				 Posted: Sat Feb 24, 2018 12:02 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Poobah
 
 Joined: 05 Jan 2008 Posts: 9486 Location: US: west coast, almost. Otherwise, enroute. 
  | 
		  
		    
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | markt | 
		  
		    
			  
				 Posted: Sat Feb 24, 2018 11:42 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Knight
 
 Joined: 14 May 2002 Posts: 512
  
  | 
		  
		    
			  
				| If no other RM is involved, why are you using MQBEGIN? | 
			   
			 
		   | 
		 
		
		  | Back to top | 
		  
		  	
		   | 
		 
		
		    | 
		 
		
		  | PaulClarke | 
		  
		    
			  
				 Posted: Sun Feb 25, 2018 12:54 am    Post subject:  | 
				     | 
			   
			 
		   | 
		 
		
		    Grand Master
 
 Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand 
  | 
		  
		    
			  
				Mark is correct. If it is just a local transaction, ie. the only resource manager involved in the transaction is MQ, then you don't need the Extended Transaction client, nor do you need MQBEGIN or a Transaction Manager. Just issue:
 
 
MQGET(MQGMO_SYNCPOINT)
 
MQPUT(MQPMO_SYNPOINT)
 
MQCMIT()
 
 
and MQ will do all the hard work for you.
 
 
Cheers,
 
Paul. _________________ Paul Clarke
 
MQGem Software
 
www.mqgem.com | 
			   
			 
		   | 
		 
		
		  | 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
  | 
  		 
	   
	 | 
   
 
  	 | 
	  |