[
https://issues.apache.org/jira/browse/ARTEMIS-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul Ferraro updated ARTEMIS-1060:
----------------------------------
Description:
Currently, providing a custom BroadcastEndpointFactory from a
ActiveMQResourceAdapter subclass requires overriding both the
newConnectionFactory(...) and createRecoveryActiveMQConnectionFactory()
methods, resulting in lots of code duplication.
Moving the logic to a separate createBroadcastEndpointFactory(...) method
solves the problem.
was:
Currently, providing a custom BroadcastEndpointFactory from a
ActiveMQResourceAdapter subclass requires overriding the entire
newConnectionFactory(...) method, resulting in lots of code duplication.
Moving the logic to a separate createBroadcastEndpointFactory(...) method
solves the problem.
> Allow ActiveMQResourceAdapter subclasses to more easily provide a custom
> BroadcastEndpointFactory
> -------------------------------------------------------------------------------------------------
>
> Key: ARTEMIS-1060
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1060
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Components: Broker
> Affects Versions: 1.5.4, 2.0.0
> Reporter: Paul Ferraro
>
> Currently, providing a custom BroadcastEndpointFactory from a
> ActiveMQResourceAdapter subclass requires overriding both the
> newConnectionFactory(...) and createRecoveryActiveMQConnectionFactory()
> methods, resulting in lots of code duplication.
> Moving the logic to a separate createBroadcastEndpointFactory(...) method
> solves the problem.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)