Simple implementation of the DestinationResolver interface,
resolving destination names as dynamic destinations.
This implementation will work on both JMS 1.1 and JMS 1.0.2,
because it uses the QueueSession or TopicSession methods if possible,
falling back to JMS 1.1's generic Session methods.
This implementation will work on both JMS 1.1 and JMS 1.0.2, because it uses the QueueSession or TopicSession methods if possible, falling back to JMS 1.1's generic Session methods.