Finally I found what it seems to be the problem.
I've configured the streaming Channel with these properties, in order
to have multiple connections per session:
<user-agent-settings>
<user-agent match-on="MSIE" kickstart-bytes="2048" max-streaming-
connections-per-session="5" />
<user-agent match-on="Firefox" kickstart-bytes="0" max-streaming-
connections-per-session="5" />
</user-agent-settings>
It seems that the kickstart-bytes attribute for "Firefox" is too low,
even if in all blazeDS Documentation it is set to 0.
I've added <connect-timeout-seconds>20</connect-timeout-seconds> , to
the channel properties, otherwise the failback to polling does not
occure ( that's why I didn't suspect the kickstart-bytes parameters ).
Now kickstart-bytes is set to 2048, and the streaming channel works
correctly. Anyone can explain me what does this parameter mean
exactly?
Best Regards,
On 10 mar, 10:16, zied Majdoub <[email protected]> wrote:
> I've added those lines to see in the log if the consumer is
> subscribed:
> trace("Is Consumer connected: " + consumer.connected);
> trace("Is Consumer subscribed: " + consumer.subscribed);
>
> And the results were:
> false
> false
>
> Any Idea?
>
> On 9 mar, 15:56, zied Majdoub <[email protected]> wrote:
>
> > Hi,
> > I am developing a component that send streaming messages to flex
> > client. It used to work until recently when the flex client acts like
> > it is not subscribed to the destination.
> > The ds-console displays that there is 1 streaming client connected,
> > and the pushCount =1 (it should grow over the time).
> > I've tested the samples.war delivered with blazeDS_turnkey with a
> > fresh jboss server, and I got the same problem.
>
> > When I show the log of blazeDS i find:
> > 15:48:49,978 INFO [STDOUT] [BlazeDS] [DEBUG] Sending message: Flex
> > Message (flex.messaging.messages.AsyncMessage)
> > clientId = EE1A27B9-AA0B-2C22-A4C9-DABD493438C0
> > correlationId = null
> > destination = market-data-feed
> > messageId = EE7533AD-9A0B-D513-2ECC-66F3AE38C619
> > timestamp = 1236610129978
> > timeToLive = 0
> > body = flex.samples.marketdata.st...@f5c8fb
> > hdr(DSSubtopic) = MOT
> > to subscribed clientIds: []
>
> > So there is no subscribed clientIds.
>
> > Do you have any idea about the cause of the problem? Could it be a
> > problem related to firewall or anti-virus (knowing that I'm running on
> > my own machine and it used to work, I only made an update to avg
> > software version) ?
> > I am blocked with this problem, please help me diagnose the cause of
> > that.
>
> > Best regards,
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---