[ https://issues.apache.org/jira/browse/AMQ-6822?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved AMQ-6822. ------------------------------ Resolution: Invalid Assignee: Claus Ibsen Make sure to use same version of JARs on classpath. > ActiveMQDestination has API breaking in setDLQ method > ----------------------------------------------------- > > Key: AMQ-6822 > URL: https://issues.apache.org/jira/browse/AMQ-6822 > Project: ActiveMQ > Issue Type: Improvement > Affects Versions: 5.15.0 > Reporter: Claus Ibsen > Assignee: Claus Ibsen > > In older versions the setDQL method has no args > http://activemq.apache.org/maven/5.14.5/apidocs/org/apache/activemq/command/ActiveMQDestination.html#setDLQ() > But from 5.15.0 onwards it has a boolean arg (I guess to make it like a > getter/setter) > http://activemq.apache.org/maven/5.15.0/apidocs/org/apache/activemq/command/ActiveMQDestination.html#setDLQ-boolean- > But the old API is gone and you can get errors like > {code} > 2017-09-25 10:54:31,901 [0.1:51866@61616] WARN Service > - Async error occurred: java.lang.NoSuchMethodError: > org.apache.activemq.command.ActiveMQDestination.setDLQ()V > {code} > It would be good to add the old method back, and then maybe mark it as > deprecated, but it should help make it more backwards compatible. -- This message was sent by Atlassian JIRA (v6.4.14#64029)