View Full Version : JndiDestinationResolver "resolveDestinationName"
Aug 20th, 2004, 07:04 PM
resolve Destination breaks with a JMS 1.0.2 jar. session in 1.0.2 requires a caste to Queue or Topic Session. For now I've subclassed resolver and overridden "resolveDestinationName". Would like this incorporated in Spring JMS code. Thanks.[/code]
Aug 21st, 2004, 10:28 AM
Thanks for reporting this - I've just reworked DynamicDestinationResolver and JndiDestinationResolver accordingly: They cast to QueueSession respectively TopicSession and invoke the method there, if possible, falling back to the generic JMS 1.1 method. This should work on both JMS 1.1 and JMS 1.0.2 now, without special subclasses.
The change is already committed to CVS; it would be great if you could give a try, once it's visible in public CVS!
Aug 22nd, 2004, 05:34 PM
I'll pull the change from CVS and try it out. Thanks for the assist.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.