Skip navigation
Flash Production Release
Currently Being Moderated

Client.Error.Subscribe

Mar 5, 2012 1:46 AM

Hi ,

 

When i am trying to refresh my page after putting the computer back from sleep , I am getting an exception on my page like this.

 

Fault Code: Client.Error.Subscribe

Message: The consumer was not able to subscribe to its target destination

 

Most of the times these kind of errors popup on my screen.

 

My code looks something like this

 

" consumer.addEventListener(MessageEvent.MESSAGE, messageReceived, false,0,true);

                                        consumer.addEventListener(MessageFaultEvent.FAULT , messageFaulted, false,0,true); "

 

and looks like this always receiving a fault event. so messageFaulted method is being called where i show popup about the above mentioned error.

 

private function messageFaulted(event: MessageFaultEvent):void

                    {

                              logger.info("Message faulted for {0}" , getQualifiedClassName(this));

                              Alert.show("Error pushing data for this component:\n"+getQualifiedClassName(this)+

                                         "\n\nFault Code: "+event.faultCode+"\n\nMessage: "+event.faultDetail, "Push Message Fault");

                    }

 

So what are the scenarios when we receive fault event and what are the ways to solve this problem.

 

We are using Push feature of blazeds.

 

Can some of you help to figure out whats causing this problem?

 

 

Thanks

Srirama

 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points