Note that there are some explanatory texts on larger screens.

plurals
  1. POProblem Sending Server Side Messages from BlazeDS to All Browsers
    text
    copied!<p>I've run into a bit of a wall with sending messages from BlazeDS on the server to Flex clients. I have my adapters and destinations set properly (I think) messaging-config.xml and my streaming channel setup in my services-config.xml files. The messages work beautifully in Safari (Mac and PC) but no other browsers. </p> <p>relevant Bits from messaging-config.xml Adapter: Destination:</p> <pre><code>&lt;destination id="FriendNotifierGateway"&gt; &lt;adapter ref="friendNotifierAdapter" /&gt; &lt;properties&gt; &lt;server&gt; &lt;max-cache-size&gt;1000&lt;/max-cache-size&gt; &lt;durable&gt;true&lt;/durable&gt; &lt;allow-subtopics&gt;true&lt;/allow-subtopics&gt; &lt;subtopic-separator&gt;.&lt;/subtopic-separator&gt; &lt;/server&gt; &lt;/properties&gt; &lt;channels&gt; &lt;channel ref="my-streaming-amf"/&gt; &lt;channel ref="cf-polling-amf"/&gt; &lt;/channels&gt; </code></pre> <p></p> <p>Relevant Bits from services-config.xml</p> <pre><code>&lt;channel-definition id="my-streaming-amf" class="mx.messaging.channels.StreamingAMFChannel"&gt; &lt;endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure/streamingamf" class="flex.messaging.endpoints.StreamingAMFEndpoint" /&gt; &lt;properties&gt; &lt;idle-timeout-minutes&gt;0&lt;/idle-timeout-minutes&gt; &lt;max-streaming-clients&gt;500&lt;/max-streaming-clients&gt; &lt;server-to-client-heartbeat-millis&gt;5000&lt;/server-to-client-heartbeat-millis&gt; &lt;user-agent-settings&gt; &lt;user-agent match-on="MSIE" kickstart-bytes="2048" max-streaming-connections-per-session="1" /&gt; &lt;user-agent match-on="Firefox" kickstart-bytes="2048" max-streaming-connections-per-session="4" /&gt; &lt;user-agent match-on="Safari" kickstart-bytes="2048" max-streaming-connections-per-session="3" /&gt; &lt;user-agent match-on="Opera" kickstart-bytes="2048" max-streaming-connections-per-session="3" /&gt; &lt;user-agent match-on="Chrome" kickstart-bytes="2048" max-streaming-connections-per-session="3" /&gt; &lt;/user-agent-settings&gt; &lt;/properties&gt; </code></pre> <p></p> <p>I feel like things are setup correctly in the channel definition but, perhaps, some of those user-agent settings are off (I have played with their settings, to no avail thus far). </p> <p>Thanks, in advance, for any suggestions or insights!</p> <p>Regards, Craig</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload