[ 
https://issues.apache.org/jira/browse/ARTEMIS-5570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18003835#comment-18003835
 ] 

Justin Bertram edited comment on ARTEMIS-5570 at 7/8/25 3:40 PM:
-----------------------------------------------------------------

When you say {{ArtemisConnectionFactoryConfiguration}} do you mean 
{{org.apache.activemq.artemis.jms.server.config.ConnectionFactoryConfiguration}}?
 

Also, when you say {{ArtemisConnectionFactoryFactory}} do you mean 
{{org.apache.activemq.artemis.jms.bridge.ConnectionFactoryFactory}}?

Please clarify. Thanks!


was (Author: jbertram):
When you say {{ArtemisConnectionFactoryConfiguration}} do you mean 
{{org.apache.activemq.artemis.jms.server.config.ConnectionFactoryConfiguration}}?
 Please clarify. Thanks!

> 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
>            Priority: Major
>
> 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.
> 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.
> 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: issues-unsubscr...@activemq.apache.org
For additional commands, e-mail: issues-h...@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact


Reply via email to