When using a ConnectionFactory from JNDI it makes sense to register a JndiDestinationResolver for lookup of the destinations from JNDI as well.

fixes: gh-4037

Comment From: mdeinum

@snicoll see 239d19d38cf753a25c04f9d6a31f6a5f1900cca3 (it is already supported, please close the ticket and remove this pull-request).

Comment From: snicoll

I knew that PR of yours rang a bell :)