Class BeanFactoryDestinationResolver

  • java.lang.Object
    • Method Detail

      • resolveDestinationName

        public Destination resolveDestinationName(@Nullable
                                                  Session session,
                                                  java.lang.String destinationName,
                                                  boolean pubSubDomain)
                                           throws JMSException
        Description copied from interface: DestinationResolver
        Resolve the given destination name, either as located resource or as dynamic destination.
        Specified by:
        resolveDestinationName in interface DestinationResolver
        session - the current JMS Session (may be null if the resolver implementation is able to work without it)
        destinationName - the name of the destination
        pubSubDomain - true if the domain is pub-sub, false if P2P
        the JMS destination (either a topic or a queue)
        JMSException - if the JMS Session failed to resolve the destination