[
https://issues.apache.org/jira/browse/AMQ-6844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209716#comment-16209716
]
Justin Bertram commented on AMQ-6844:
-------------------------------------
There's never been any guarantee for API compatibility between 5.x and Artemis
clients (save for JMS itself). As already noted, your "problem" has a solution
- JNDI. Using APIs vs. implementation classes is pretty basic programming.
> Misleading args order
> ---------------------
>
> Key: AMQ-6844
> URL: https://issues.apache.org/jira/browse/AMQ-6844
> Project: ActiveMQ
> Issue Type: Improvement
> Components: JMS client
> Affects Versions: 5.15.1
> Reporter: guai
>
> org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory:
> public ActiveMQConnectionFactory(String url, String user, String password)
> {...}
> org.apache.activemq.ActiveMQConnectionFactory:
> public ActiveMQConnectionFactory(String userName, String password, String
> brokerURL) {...}
> all three are strings, url first vs url last can cause problems while
> migrating and compiler won't even notice.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)