| Author | 
		  Message | 
  		
  		
		     Topic: Problem with JMS/MQ leaving open connections - code inside. | 
  		
  		
		  smalltalk2k
  
	  	  Replies: 11 Views: 20545
  | 
		   Forum: IBM MQ Java / JMS   Posted: Mon Jun 20, 2005 6:52 am   Subject: Problem with JMS/MQ leaving open connections - code inside. | 
  		
  		
		  I just got the MQ server side error messages from the admin.
 this error happens on his end when I terminate my web server. 
 These errors are if my list is correct, 'connection reset by peer' errors. ... | 
  		
  		
		     Topic: Problem with JMS/MQ leaving open connections - code inside. | 
  		
  		
		  smalltalk2k
  
	  	  Replies: 11 Views: 20545
  | 
		   Forum: IBM MQ Java / JMS   Posted: Mon Jun 20, 2005 5:24 am   Subject: Problem with JMS/MQ leaving open connections - code inside. | 
  		
  		
		  to start the listener I use this code.
 
 FieldServer7Reciever.getInstance().start();
 
 to stop it i call.
 
 FieldServer7Reciever.getInstance().stopLoop();
 
 
 
 
 T ... | 
  		
  		
		     Topic: Problem with JMS/MQ leaving open connections - code inside. | 
  		
  		
		  smalltalk2k
  
	  	  Replies: 11 Views: 20545
  | 
		   Forum: IBM MQ Java / JMS   Posted: Thu Jun 16, 2005 5:37 am   Subject: Problem with JMS/MQ leaving open connections - code inside. | 
  		
  		
		  Does the JVM completely shut down when this program ends?
 
 I have seen MQ connections stay open in Java for at least a period of time after they have been closed and discarded.
 
 Also check the Kee ... | 
  		
  		
		     Topic: Problem with JMS/MQ leaving open connections - code inside. | 
  		
  		
		  smalltalk2k
  
	  	  Replies: 11 Views: 20545
  | 
		   Forum: IBM MQ Java / JMS   Posted: Thu Jun 16, 2005 5:09 am   Subject: Problem with JMS/MQ leaving open connections - code inside. | 
  		
  		
		  | I'm having a problem with my jms recieving code on leaving 3 open connections.    No exceptions are being thrown and I checked my debug logs and all of the closing log statements are being out put.  S ... | 
  		
  		
		     Topic: Is there a way to rollback a recieved message? | 
  		
  		
		  smalltalk2k
  
	  	  Replies: 5 Views: 3699
  | 
		   Forum: IBM MQ Java / JMS   Posted: Wed Jun 01, 2005 5:16 am   Subject: Is there a way to rollback a recieved message? | 
  		
  		
		  I figured out how to do transactional jms.  the code i used is in the following post.
 
 http://www.mqseries.net/phpBB2/viewtopic.php?p=96895#96895 | 
  		
  		
		     Topic: Can a JMS Listener consume non-JMS (straight mq) messages? | 
  		
  		
		  smalltalk2k
  
	  	  Replies: 4 Views: 3790
  | 
		   Forum: IBM MQ Java / JMS   Posted: Wed Jun 01, 2005 5:13 am   Subject: Can a JMS Listener consume non-JMS (straight mq) messages? | 
  		
  		
		  just as an FYI. here is the code that I'm using to read the pure mq messages with jms.  It was made to run as a thread. It has transactions for commit and rollback.
 
 
 package gov.usda.fsa.mq;
 
 im ... | 
  		
  		
		     Topic: Is there a way to rollback a recieved message? | 
  		
  		
		  smalltalk2k
  
	  	  Replies: 5 Views: 3699
  | 
		   Forum: IBM MQ Java / JMS   Posted: Mon May 16, 2005 5:07 am   Subject: Is there a way to rollback a recieved message? | 
  		
  		
		  Is there a way to roll back the reception of a message so that it isn't taken of fthe queue.
 
 My situation...
 
 			qcf = (QueueConnectionFactory) context.lookup(Messages.getString(& ... | 
  		
  		
		     Topic: Is this way of listening for JMS messages inefficient? | 
  		
  		
		  smalltalk2k
  
	  	  Replies: 4 Views: 3928
  | 
		   Forum: IBM MQ Java / JMS   Posted: Tue May 03, 2005 5:52 am   Subject: Is this way of listening for JMS messages inefficient? | 
  		
  		
		  The message class below is javax.jms.Message
 The reciever is javax.jms.QueueReceiver.
 
 Is this way of reading a Queue grossly inefficient for a system that would recieve roughly 40,000 straight mq  ... | 
  		
  		
		     Topic: Can a JMS Listener consume non-JMS (straight mq) messages? | 
  		
  		
		  smalltalk2k
  
	  	  Replies: 4 Views: 3790
  | 
		   Forum: IBM MQ Java / JMS   Posted: Tue May 03, 2005 5:43 am   Subject: Can a JMS Listener consume non-JMS (straight mq) messages? | 
  		
  		
		  | ahh, you just have to love programming.  My program was throwing class cast exceptions when i tried to access the text message last night.  Today it is working fine.   I didn't make any programming ch ... | 
  		
  		
		     Topic: Can a JMS Listener consume non-JMS (straight mq) messages? | 
  		
  		
		  smalltalk2k
  
	  	  Replies: 4 Views: 3790
  | 
		   Forum: IBM MQ Java / JMS   Posted: Tue May 03, 2005 4:34 am   Subject: Can a JMS Listener consume non-JMS (straight mq) messages? | 
  		
  		
		  Is if possible to have a JMS Listener consume non-JMS straight text messages that were written to the queue using regular MQ java api.
 
 I've tried multiple ways but I can't seem to do it.  I just wa ... |