Yönlendirici veya Mesaj İşleyici'de mesaj boyutu sınırını ayarlama
Edge for Private Cloud 4.17.01 sürümü
Edge'de bellek sorunlarını önlemek için Yönlendirici ve Mesaj İşlemci'deki mesaj yükü boyutu 10 MB ile sınırlandırılmıştır. Bu boyutların aşılması protocol.http.TooBigBody hatasına neden olur.
Yönlendirici, Mesaj İşleyici veya her ikisindeki sınırları değiştirmek için aşağıdaki özellikleri kullanın.
Her iki özelliğin de varsayılan değeri 10 MB'a karşılık gelen "10m"dir:
conf_http_HTTPRequest.body.buffer.limit
conf_http_HTTPResponse.body.buffer.limit
Bu özellikleri ayarlamak için:
router.properties dosyasını veya message-processor.properties dosyasını bir düzenleyicide açın. Dosya yoksa oluşturun: > vi
/opt/apigee/customer/application/router.properties
veya: > vi
/opt/apigee/customer/application/message-processor.properties
Özellikleri istediğiniz gibi ayarlayın: conf_http_HTTPRequest.body.buffer.limit=15m
conf_http_HTTPResponse.body.buffer.limit=15m
Değişikliklerinizi kaydedin.
Özellikler dosyasının "apigee" kullanıcısına ait olduğundan emin olun: >
chown apigee:apigee /opt/apigee/customer/application/router.properties
veya: >
chown apigee:apigee /opt/apigee/customer/application/message-processor.properties
Edge bileşenini yeniden başlatın: >
/opt/apigee/apigee-service/bin/apigee-service edge-router restart
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2026-10-16 UTC."],[],[]]