celiovasconcelos commented on pull request #1293:
URL: https://github.com/apache/activemq-artemis/pull/1293#issuecomment-668607773


   ```java
       Map<String, Object> params = new HashMap<>();
       params.put(TransportConstants.HOST_PROP_NAME, "localhost");
       params.put(TransportConstants.PORT_PROP_NAME, "61617"); //<acceptor 
name="netty">tcp://0.0.0.0:61617</acceptor>
       params.put(TransportConstants.PROXY_ENABLED_PROP_NAME, "true");
       params.put(TransportConstants.PROXY_HOST_PROP_NAME, "localhost");
       params.put(TransportConstants.PROXY_PORT_PROP_NAME, "1080");
       params.put(TransportConstants.PROXY_USERNAME_PROP_NAME, "user");
       params.put(TransportConstants.PROXY_PASSWORD_PROP_NAME, 
"WRONG_PASSWORD");
   
       TransportConfiguration transportConfiguration = new 
TransportConfiguration("org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnectorFactory",
 params);
       ActiveMQConnectionFactory activeMQConnectionFactory = 
ActiveMQJMSClient.createConnectionFactoryWithoutHA(JMSFactoryType.CF, 
transportConfiguration);
   ```
   ```xml
   <dependency>
        <groupId>org.apache.activemq</groupId>
        <artifactId>artemis-jms-client</artifactId>
        <version>2.14.0</version>
   </dependency>
   ```
   This is ignoring the proxy conf. 
   
   Am I doing something wrong?
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to