Anders created ARTEMIS-5570:
-------------------------------

             Summary: Make it possible to inject desired subclass of 
ArtemisConnectionFactoryConfiguration into the configuration
                 Key: ARTEMIS-5570
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5570
             Project: ActiveMQ Artemis
          Issue Type: Improvement
          Components: Configuration
            Reporter: Anders


**Is your feature request related to a problem? Please describe.**
For our projects we have wrapper classes for several of the relevant JMS 
classes to provide additional functionality besides the standard stuff in 
artemis.
We therefore want to have our own ArtemisConnectionFactory to generate our 
ArtemisConnection subclass.

**Describe the solution you'd like**
We copied the existing ArtemisConnectionFactoryConfiguration and 
ArtemisConnectionFactoryFactory and with very small changes were able to get 
the desired outcome.
The existing configuration code is pretty much already prepared for this 
improvement, all that is needed is a way to provide the desired class.
Core to the solution is a very simple interface that can be implemented as a 
bean to state the desired class.
PR will be provided.

**Additional context**
The artemis configuration is very similar to the one for Azure ServiceBus and 
since we use both this functionality is requested there too.
In case you come up with a different (read better) solution this should be 
coordinated with the ServiceBus team.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to