| Author | 
		  Message | 
  		
  		
		     Topic: MQ Program Stucked forever | 
  		
  		
		  michael.shapira
  
	  	  Replies: 16 Views: 12982
  | 
		   Forum: IBM MQ API Support   Posted: Wed Apr 18, 2007 5:14 am   Subject: MQ Program Stucked forever | 
  		
  		
		  Thank you all.
 
 PS. When you set WAIT_UNLIMITED and there is no message in queue get method will block your application until queue is empty.
 
  is the solution I was looking for | 
  		
  		
		     Topic: MQ Program Stucked forever | 
  		
  		
		  michael.shapira
  
	  	  Replies: 16 Views: 12982
  | 
		   Forum: IBM MQ API Support   Posted: Wed Apr 18, 2007 12:24 am   Subject: MQ Program Stucked forever | 
  		
  		
		  | My queue is empty now. Can it influence the browsing? | 
  		
  		
		     Topic: MQ Program Stucked forever | 
  		
  		
		  michael.shapira
  
	  	  Replies: 16 Views: 12982
  | 
		   Forum: IBM MQ API Support   Posted: Wed Apr 18, 2007 12:20 am   Subject: MQ Program Stucked forever | 
  		
  		
		  | telnet was successfully. I also noticed that the problem exists for browsing only. I also have a peace of code that checking "trigger control" with the same values for the host, qmanager,que ... | 
  		
  		
		     Topic: MQ Program Stucked forever | 
  		
  		
		  michael.shapira
  
	  	  Replies: 16 Views: 12982
  | 
		   Forum: IBM MQ API Support   Posted: Wed Apr 18, 2007 12:05 am   Subject: MQ Program Stucked forever | 
  		
  		
		  I the log I only found the following from today
 
 04/18/2007  10:43:06
 AMQ7880: Error code 0 starting QM.PTVWDI/Listener WebSphere MQ service.
 
 EXPLANATION:
 The service was unable to start QM.PTV ... | 
  		
  		
		     Topic: MQ Program Stucked forever | 
  		
  		
		  michael.shapira
  
	  	  Replies: 16 Views: 12982
  | 
		   Forum: IBM MQ API Support   Posted: Tue Apr 17, 2007 11:56 pm   Subject: MQ Program Stucked forever | 
  		
  		
		  I checked the following. Is my objects have the same name as in the server-yes, case sensitive-yes.
 I checked the listener port it was 1415, but in my program it was 1414. So after I changed it to 14 ... | 
  		
  		
		     Topic: MQ Program Stucked forever | 
  		
  		
		  michael.shapira
  
	  	  Replies: 16 Views: 12982
  | 
		   Forum: IBM MQ API Support   Posted: Tue Apr 17, 2007 10:58 pm   Subject: MQ Program Stucked forever | 
  		
  		
		  Hi . I am browsing the queue using the following code
 manager = new MQQueueManager(queueManager);
 			int openOption = MQC.MQOO_BROWSE | MQC.MQOO_INPUT_SHARED ; // open options for browse &am ... | 
  		
  		
		     Topic: MQ API to get the date of the message | 
  		
  		
		  michael.shapira
  
	  	  Replies: 23 Views: 16824
  | 
		   Forum: IBM MQ Java / JMS   Posted: Thu Apr 05, 2007 3:39 am   Subject: MQ API to get the date of the message | 
  		
  		
		  | What do you mean "always GMT". I am currently in GMT+2 and put remotly a message to the queue. In  my client the time was 15:02, when I connected to the MQ server and browsed the queue. I se ... | 
  		
  		
		     Topic: MQ API to get the date of the message | 
  		
  		
		  michael.shapira
  
	  	  Replies: 23 Views: 16824
  | 
		   Forum: IBM MQ Java / JMS   Posted: Wed Apr 04, 2007 5:24 am   Subject: MQ API to get the date of the message | 
  		
  		
		  | Another question. How can I know the time offset between MQ and client? | 
  		
  		
		     Topic: MQ API to get the date of the message | 
  		
  		
		  michael.shapira
  
	  	  Replies: 23 Views: 16824
  | 
		   Forum: IBM MQ Java / JMS   Posted: Wed Apr 04, 2007 5:16 am   Subject: MQ API to get the date of the message | 
  		
  		
		  Thank you all.
 It was all the time in from of me
 
 try
 		{
 			int openOption = 0;
 			openOption = MQC.MQOO_BROWSE | MQC.MQOO_INPUT_SHARED ; // open options for browse & share
 
 			q = m ... | 
  		
  		
		     Topic: MQ API to get the date of the message | 
  		
  		
		  michael.shapira
  
	  	  Replies: 23 Views: 16824
  | 
		   Forum: IBM MQ Java / JMS   Posted: Wed Apr 04, 2007 4:54 am   Subject: MQ API to get the date of the message | 
  		
  		
		  Let me correct myself. Indeed I am using MQ API.
 
 About the bad desighn .... I am not Java programmer, I am mostly PL/SQL developer. When one use Oracle Application he can expect mostly stange issue ... | 
  		
  		
		     Topic: MQ API to get the date of the message | 
  		
  		
		  michael.shapira
  
	  	  Replies: 23 Views: 16824
  | 
		   Forum: IBM MQ Java / JMS   Posted: Wed Apr 04, 2007 4:27 am   Subject: MQ API to get the date of the message | 
  		
  		
		  I found a sample code for message browsing
 try
 		{
 			int openOption = 0;
 			openOption = MQC.MQOO_BROWSE | MQC.MQOO_INPUT_SHARED ; // open options for browse & share
 
 			q = manager.ac ... | 
  		
  		
		     Topic: MQ API to get the date of the message | 
  		
  		
		  michael.shapira
  
	  	  Replies: 23 Views: 16824
  | 
		   Forum: IBM MQ Java / JMS   Posted: Wed Apr 04, 2007 4:22 am   Subject: MQ API to get the date of the message | 
  		
  		
		  No. I am looking for the date because the demand in my application is not to process messages with now-putDateTime<10 minutes.
 
 Thank you all. Can you post a link on documentation about how to wo ... | 
  		
  		
		     Topic: MQ API to get the date of the message | 
  		
  		
		  michael.shapira
  
	  	  Replies: 23 Views: 16824
  | 
		   Forum: IBM MQ Java / JMS   Posted: Wed Apr 04, 2007 3:16 am   Subject: MQ API to get the date of the message | 
  		
  		
		  Hi All.
  I am using MQ API (com.ibm.mq) to connect to the WebSphere MQ.
 Lets say tat I have several messages in my queue. How can I get the datetime when the message was put to the queue without pul ... | 
  		
  		
		     Topic: MQJE001: An MQException occurred: Completion Code 2, Reason | 
  		
  		
		  michael.shapira
  
	  	  Replies: 12 Views: 37700
  | 
		   Forum: IBM MQ Java / JMS   Posted: Tue Apr 03, 2007 11:46 pm   Subject: MQJE001: An MQException occurred: Completion Code 2, Reason | 
  		
  		
		  I have the same problem, can you please tell me what is the solution. I trying to find the documentation about programming MQ you remind earlier, but all I found were some courses.
 I am using the sam ... |