apache tomcatでblazedsを使用する場合、rpc呼び出しとプッシュメッセージングシステムが機能します。ただし、ApacheサーバーがApache Tomcatの前に配置されている場合、rpc呼び出しのみが機能し、ブレイズドプッシュメッセージングは機能しません。誰かがこれを修正してくれることを願っています。そのような人がうまくいった構成設定を喜んで共有してくれれば嬉しいです。
前もって感謝します
まったく同じ問題がありました。ここに要点があります。おそらくSteamingAmfを使用しています。Apacheサーバーは、基盤となるサーバーへの永続的なオープン接続を維持することを望まないため、データをバッファリングします。
すべてを機能させるには、ポーリングバージョンを使用する必要があります。これは、services-config.xmlで実行する必要のある構成の例です。
<channel-definition id="my-polling-amf" class="mx.messaging.channels.SecureAMFChannel">
<endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
<properties>
<polling-enabled>true</polling-enabled>
<polling-interval-millis>0</polling-interval-millis>
<wait-interval-millis>60000</wait-interval-millis>
<client-wait-interval-millis>3000</client-wait-interval-millis>
<max-waiting-poll-requests>100</max-waiting-poll-requests>
</properties>
</channel-definition>
上記の構成では、httpsを使用しています。
次のようにmessaging-config.xmlを構成します
<destination id="DestinationID">
<channels>
<channel ref="my-polling-amf"/>
</channels>
<adapter ref="DestinationAdapter"/>
</destination>
これは、元の設定が機能していることを前提として機能するはずです。幸運を。