Github user mvtorres commented on the issue:

    https://github.com/apache/activemq-artemis/pull/2286
  
    This is an existing feature, I just exposed it so its usable on urls of 
ConnectionFactory.
    
    Existing documentation is at 
https://activemq.apache.org/artemis/docs/latest/clusters.html#client-side-load-balancing
    
    Im trying to add a testcase/logic to 
org.apache.activemq.artemis.tests.integration.cluster.distribution.NettySymmetricClusterTest
    
    which was added by the original pull request
    
    
https://github.com/apache/activemq-artemis/commit/b6b8fa411f4dcf9e6ac8248489579dac8d931cb3
    
    but Im having trouble getting that to execute locally.
    
    When I run  
    
    `mvn -Ptests -DfailIfNoTests=false -Dtest=NettySymmetricClusterTest test`
    
    I'm getting 
    
    
    [INFO] 
------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] 
------------------------------------------------------------------------
    [INFO] Total time: 56.893 s
    [INFO] Finished at: 2018-09-04T12:54:56-04:00
    [INFO] Final Memory: 127M/1567M
    [INFO] 
------------------------------------------------------------------------
    [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile 
(default-testCompile) on project unit-tests: Compilation failure: Compilation 
failure:
    [ERROR] 
/Users/mark/git/activemq-artemis/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/ra/ResourceAdapterTest.java:[62,81]
 cannot access ActiveMQConnectionFactory
    [ERROR] class file for ActiveMQConnectionFactory not found
    [ERROR] 
/Users/mark/git/activemq-artemis/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/ra/ResourceAdapterTest.java:[93,81]
 incompatible types: ActiveMQConnectionFactory cannot be converted to 
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory
    [ERROR] 
/Users/mark/git/activemq-artemis/tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/ra/ResourceAdapterTest.java:[94,82]
 incompatible types: ActiveMQConnectionFactory cannot be converted to 
org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory
    
    
    Can you point me to the right direction...
    
    Thanks


---

Reply via email to