Skip to content

Commit

Permalink
Introduce config related to Passthru improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
arunans23 committed Feb 2, 2024
1 parent 2f3f2d6 commit 0ade538
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions distribution/src/resources/config-tool/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,23 @@

"passthru_properties.'http.socket.timeout'": "180000",
"passthru_properties.'worker_pool_size_core'": "400",
"passthru_properties.'secondary_worker_pool_size_core'": "400",
"passthru_properties.'worker_pool_size_max'": "400",
"passthru_properties.'secondary_worker_pool_size_max'": "400",
"passthru_properties.'worker_pool_queue_length'": "-1",
"passthru_properties.'secondary_worker_pool_queue_length'": "-1",
"passthru_properties.'io_buffer_size'": "16384",
"passthru_properties.'http.max.connection.per.host.port'": "32767",
"passthru_properties.'http.user.agent.preserve'": false,
"passthru_properties.'http.server.preserve'": true,
"passthru_properties.'http.connection.disable.keepalive'": false,
"passthru_properties.'valid.max.message.size.in.bytes'": "81920",
"passthru_properties.'force.json.message.reverseProxyMode'": false,
"passthru_properties.'consume_and_discard'": true,
"passthru_properties.'expected_max_queueing_time'": "30000",
"passthru_properties.'consume_and_discard_by_secondary_pool'": true,
"passthru_properties.'expected_max_queueing_time_for_message_discard_worker'": "30000",
"passthru_properties.'close_socket_on_endpoint_timeout'": "false",

"transport.http.preserve_http_headers": ["Content-Type"],
"transport.http.listener.enable": true,
Expand Down
8 changes: 8 additions & 0 deletions distribution/src/resources/config-tool/key-mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,11 @@
"transport.http.block_service_list": "passthru_properties.'http.block_service_list'",
"transport.http.connection_timeout": "passthru_properties.'http.connection.timeout'",
"transport.http.core_worker_pool_size": "passthru_properties.'worker_pool_size_core'",
"transport.http.secondary_worker_pool_size_core": "passthru_properties.'secondary_worker_pool_size_core'",
"transport.http.max_worker_pool_size": "passthru_properties.'worker_pool_size_max'",
"transport.http.secondary_worker_pool_size_max": "passthru_properties.'secondary_worker_pool_size_max'",
"transport.http.worker_pool_queue_length": "passthru_properties.'worker_pool_queue_length'",
"transport.http.secondary_worker_pool_queue_length": "passthru_properties.'secondary_worker_pool_queue_length'",
"transport.http.io_buffer_size": "passthru_properties.'io_buffer_size'",
"transport.http.max_http_connection_per_host_port": "passthru_properties.'http.max.connection.per.host.port'",
"transport.http.preserve_http_user_agent":"passthru_properties.'http.user.agent.preserve'",
Expand All @@ -130,6 +133,11 @@
"transport.http.force_xml_validation": "passthru_properties.'force.xml.message.validation'",
"transport.http.force_json_validation": "passthru_properties.'force.json.message.validation'",
"transport.http.reverse_proxy_mode": "passthru_properties.'force.json.message.reverseProxyMode'",
"transport.http.consume_and_discard": "passthru_properties.'consume_and_discard'",
"transport.http.expected_max_queueing_time": "passthru_properties.'expected_max_queueing_time'",
"transport.http.consume_and_discard_by_secondary_pool": "passthru_properties.'consume_and_discard_by_secondary_pool'",
"transport.http.expected_max_queueing_time_for_message_discard_worker": "passthru_properties.'expected_max_queueing_time_for_message_discard_worker'",
"transport.http.close_socket_on_endpoint_timeout": "passthru_properties.'close_socket_on_endpoint_timeout'",

"transport.http.listener.port": "transport.http.listener.parameter.port",
"transport.http.listener.wsdl_epr_prefix":"transport.http.listener.parameter.WSDLEPRPrefix",
Expand Down

0 comments on commit 0ade538

Please sign in to comment.