If I have a JMSQueue appender :
1. I can not use the name attribute as suggested by the documentation.
2. The name of the queue automatically becomes : "JMSQueueQueueConnectionFactory.Log4j2Queue".
Creating a derived name for the jms queue appender is not a bad idea but this way it is not easy to guess what it is going to be without looking into the source code of the appender implementation.