Announcement Announcement Module
No announcement yet.
Flex client heartbeat for each channel Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Flex client heartbeat for each channel

    We are building a Flex application using BlazeDS and simple channels (no polling, no streaming). We have modularized the application and each channel endpoint is actually in a different WAR file. That means each channel actually has its own session. We were hoping to keep each of those sessions alive using the Flex client <heartbeat-interval-millis> setting in services_config.xml. The hope was that the heartbeat would be sent to each of the defined channels. In practice, it doesn't work that way. The heartbeat is only sent to the "main" session - our framework, so to speak. I'm not sure if the fact that the other modules/endpoints are loaded dynamically at runtime has anything to do with this. Does anyone know of a simple way to send a per-channel heartbeat from the Flex client? I'm sure we can come up with a code-based solution, but setting the single <heartbeat-interval-millis> configuration setting would have saved us a lot of time and effort if it had worked like we wanted it to.