code: public void setDestinationResolver(DestinationResolver destinationResolver) {
          Assert.notNull(destinationResolver, "destinationResolver must not be null");
          this.jmsTemplate.setDestinationResolver(destinationResolver);
          this.messageListenerContainer.setDestinationResolver(destinationResolver);
      }
docs: Sets the {@link DestinationResolver} for resolving the JMS destination for this adapter
  
  @param destinationResolver the destination resolver