[jboss-user] [JBoss Messaging] - Re: Message receiver connot reconnect after the messaging se
do-not-reply at jboss.com
Tue May 22 04:43:38 EDT 2007
Ok, finally I have had a chance to look at this :)
Looking at your code and your explanation of the problem, you are running non clustered so you won't have any transparent failover.
This means you have to install an exceptionListener to receive notiifcations on the connection if it fails (see JMS spec for more details).
I notice in your code, you are not installing an exception listener, so will get no exceptions (since receive() does not go to the server).
If you follow the normal pattern of failure detection and retry, this should work (I have tried this locally and it works for me)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047467#4047467
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047467
More information about the jboss-user