You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.
Hi, I am trying to use the proxy method in ClientBuilder according to the new source code, but the IDE says it cannot resolve method 'proxy'. My code as below and would be appreciated for any input.
ClientBuilder builder= new ClientBuilder()
.name("Hosebird-Client-01")
.proxy(proxyHost,proxyPort)//'proxy' is in red
.hosts(hosebirdHosts)
.authentication(hosebirdAuth)
.endpoint(hosebirdEndpoint)
.processor(new StringDelimitedProcessor(msgQueue));
The text was updated successfully, but these errors were encountered:
Hi @yangmeijian.
I'm trying to use this method as well and I realized today that the HBC artifact on the Maven repository hasn't been updated since 2014 (which is prior to adding the .proxy() method). As a result, the ClientBuilder class probably doesn't contain the method you're looking for.
In case you managed a workaround, can you please share your solution?
Thanks.
Hi, I am trying to use the proxy method in ClientBuilder according to the new source code, but the IDE says it cannot resolve method 'proxy'. My code as below and would be appreciated for any input.
The text was updated successfully, but these errors were encountered: