Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6556919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:00:26+00:00 2026-05-25T13:00:26+00:00

I am connecting to a BlazeDS server with a simple Flex component that is

  • 0

I am connecting to a BlazeDS server with a simple Flex component that is merely trying to subscribe to realtime data


Here are the Channels and Consumer

    <mx:ChannelSet id="channelSet">
            <mx:AMFChannel url="http://localhost:8080/MyApp/messagebroker/streamingamf/"/>     
    </mx:ChannelSet>        
    <mx:Consumer id="consumer" 
                 destination="feed" 
                 channelSet="{channelSet}"
                 channelConnect="consumer_channelConnectHandler(event)"
                 channelDisconnect="consumer_channelDisconnectHandler(event)"
                 message="consumer_messageHandler(event.message)"
                 fault="consumer_faultHandler(event)"/>

I am being disconnected right after connecting (both consumer_channelConnectHandler and consumer_channelDisconnectHandler are invoked).


Would you have a clue why?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:00:27+00:00Added an answer on May 25, 2026 at 1:00 pm

    There’s a couple of things to note here:

    • You have a StreamingAMF endpoint configured to an AMFChannel. This is wrong, I suspect you want a StreamingAMFChannel.

    • If you’re using an AMFChannel with a consumer, you need to talk to an AMFLongPolling endpoint, in which case your AMFChannel should have pollingEnabled set to true. however, I suspect you really want StreamingAMFChannel, in which case, see point 1.

    • Once you configure StreamingAMFChannel, you can find that you still get immediate disconnections on the client. This occurs when you have multiple connections from the same client (ie., tabs), and your services-config.xml has a max-streaming-connections-per-session set too low. Normally you would want this set to 1, but for development, that can be painful, so set it higher, and use a seperate services-config.xml with production settings for production.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Flex application that connects to a BlazeDS server using the StreamingAMF
I have a flex application that communicates via BlazeDS with two webapps running inside
After connecting to server, I run some commands on server and then trying to
I'm working on a Flex/BlazeDS/Spring/JPA/Hibernate web application hooked up to a Microsoft SQL Server
When connecting to sql server, I have the hardcoded string (local). Is this a
I am connecting to a server from an android device and querying the database
When connecting to oracle server from .NET application using ADO.NET for oracle, even if
I'm connecting to a webservice using WCF. I can authenticate on the server correctly,
I'm trying to make a Flex-based desktop application consume messages from an ActiveMQ topic
im trying to connecting joomla 1.6 with Twitter Account, does anyone know the way

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.