/** * Set a namespace name which will be used to connect to an EventHubs instance. This method adds * "servicebus.windows.net" as the default domain name. * * @param namespaceName the name of the namespace to connect to. * @return the {@link ConnectionStringBuilder} being set. */ public ConnectionStringBuilder setNamespaceName(String namespaceName) { return this.setEndpoint(namespaceName, defaultDomainName); }
.setEndpoint(providedCSB.getEndpoint()) .setEventHubName(effectiveEventHubPath) .setSasKeyName(providedCSB.getSasKeyName())