Skip to content

Commit db26229

Browse files
Merge pull request #2354 from KalinduGandara/master
Rename SourceHandler threading view threadNamePrefix
2 parents 7b5e156 + 4533fc4 commit db26229

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/PassThroughConstants.java

+1
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ public class PassThroughConstants {
183183
public static final String PASSTHROUGH_LATENCY_VIEW = "PassthroughLatencyView";
184184
public static final String PASSTHROUGH_S2SLATENCY_VIEW = "PassthroughS2SLatencyView";
185185
public static final String PASSTHOUGH_HTTP_SERVER_WORKER = "PassthroughHttpServerWorker";
186+
public static final String PASSTHROUGH_MESSAGE_PROCESSOR = "PassThroughMessageProcessor";
186187

187188
public static final String MESSAGE_OUTPUT_FORMAT = "MESSAGE_OUTPUT_FORMAT";
188189

modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/SourceHandler.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public SourceHandler(SourceConfiguration sourceConfiguration, List<StreamInterce
132132
scheme.isSSL(), strNamePostfix, enableAdvancedForLatencyView);
133133
this.s2sLatencyView = new LatencyView(PassThroughConstants.PASSTHROUGH_S2SLATENCY_VIEW, scheme.isSSL(),
134134
strNamePostfix, enableAdvancedForS2SView);
135-
this.threadingView = new ThreadingView(PassThroughConstants.PASSTHOUGH_HTTP_SERVER_WORKER, true, 50);
135+
this.threadingView = new ThreadingView(PassThroughConstants.PASSTHROUGH_MESSAGE_PROCESSOR, true, 50);
136136
}
137137

138138
Properties props = MiscellaneousUtil.loadProperties(PROPERTY_FILE);

0 commit comments

Comments
 (0)