Re: receive() does not throw exception when activemq.bat is terminated

2008-08-04 Thread David Sitsky
I'm quite a new user to ActiveMq and it's queuing system but as I have understood it the: receive(5000) or receive() (I've also tried receiveNoWait()) should both throw an exception if they are run when the activemq.bat has been terminated. Have a look at the Connection.setExceptionListener(Exc

receive() does not throw exception when activemq.bat is terminated

2008-08-04 Thread johoso
Hi I'm quite a new user to ActiveMq and it's queuing system but as I have understood it the: receive(5000) or receive() (I've also tried receiveNoWait()) should both throw an exception if they are run when the activemq.bat has been terminated. The reason why I'm terminating is because I want to