@@ -531,7 +531,7 @@ public void updateFaultItem(final String brokerName, final long currentLatency,
531
531
}
532
532
533
533
private void validateNameServerSetting () throws MQClientException {
534
- List <String > nsList = this .getMqClientFactory ().getMQClientAPIImpl ().getNameServerAddressList ();
534
+ List <String > nsList = this .getmQClientFactory ().getMQClientAPIImpl ().getNameServerAddressList ();
535
535
if (null == nsList || nsList .isEmpty ()) {
536
536
throw new MQClientException (
537
537
"No name server address, please set it." + FAQUrl .suggestTodo (FAQUrl .NAME_SERVER_ADDR_NOT_EXIST_URL ), null ).setResponseCode (ClientErrorCode .NO_NAME_SERVER_EXCEPTION );
@@ -871,7 +871,7 @@ private SendResult sendKernelImpl(final Message msg,
871
871
throw new MQClientException ("The broker[" + mq .getBrokerName () + "] not exist" , null );
872
872
}
873
873
874
- public MQClientInstance getMqClientFactory () {
874
+ public MQClientInstance getmQClientFactory () {
875
875
return mQClientFactory ;
876
876
}
877
877
@@ -1543,16 +1543,16 @@ private void requestFail(final String correlationId) {
1543
1543
1544
1544
private void prepareSendRequest (final Message msg , long timeout ) {
1545
1545
String correlationId = CorrelationIdUtil .createCorrelationId ();
1546
- String requestClientId = this .getMqClientFactory ().getClientId ();
1546
+ String requestClientId = this .getmQClientFactory ().getClientId ();
1547
1547
MessageAccessor .putProperty (msg , MessageConst .PROPERTY_CORRELATION_ID , correlationId );
1548
1548
MessageAccessor .putProperty (msg , MessageConst .PROPERTY_MESSAGE_REPLY_TO_CLIENT , requestClientId );
1549
1549
MessageAccessor .putProperty (msg , MessageConst .PROPERTY_MESSAGE_TTL , String .valueOf (timeout ));
1550
1550
1551
- boolean hasRouteData = this .getMqClientFactory ().getTopicRouteTable ().containsKey (msg .getTopic ());
1551
+ boolean hasRouteData = this .getmQClientFactory ().getTopicRouteTable ().containsKey (msg .getTopic ());
1552
1552
if (!hasRouteData ) {
1553
1553
long beginTimestamp = System .currentTimeMillis ();
1554
1554
this .tryToFindTopicPublishInfo (msg .getTopic ());
1555
- this .getMqClientFactory ().sendHeartbeatToAllBrokerWithLock ();
1555
+ this .getmQClientFactory ().sendHeartbeatToAllBrokerWithLock ();
1556
1556
long cost = System .currentTimeMillis () - beginTimestamp ;
1557
1557
if (cost > 500 ) {
1558
1558
log .warn ("prepare send request for <{}> cost {} ms" , msg .getTopic (), cost );
0 commit comments