This is a bug with DataStore/DataService. It wrongly assumes that the channel is a polling channel and tries to call poll method on the streaming channel.
Could you please open a bug with LCDS and let us know what the bug number is? Thanks, Mete --- In [email protected], João Fernandes <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm replacing the rtmp by the nio-Streaming-amf channel ( in conjunction > with the nio-polling-amf ) but now my destinations are throwing an error > saying that the streaming endpoint doesn't support polling. > It's weird because the streaming channel doesn't have any polling > enabled (since it doesn't apply). > > Here is my streaming definition ( added serialization rules for CF ) > which is shared with my nio-polling and nio-amf channels. > > <channel-definition id="my-streaming-nio-amf" > class="mx.messaging.channels.StreamingAMFChannel"> > <endpoint > url="http://{server.name}:2080/{context.root}/streamingnioamf" > class="flex.messaging.endpoints.StreamingNIOAMFEndpoint"/> > <server ref="my-nio-server"/> > <properties> > <serialization> > <instantiate-types>false</instantiate-types> > </serialization> > </properties> > </channel-definition> > > the error raised: > > Error: StreamingAMFChannel does not support polling. > at > mx.messaging.channels::StreamingAMFChannel/poll()[E:\dev\3.0.3\frameworks\projects\rpc\src\mx\messaging\channels\StreamingAMFChannel.as:160] > at > mx.data::DataStore/doPollIfNecessary()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\DataStore.as:3299] > at > mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::doCommit()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\DataStore.as:1826] > at > mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::internalCommit()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\DataStore.as:818] > at > mx.data::ConcreteDataService/commit()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\ConcreteDataService.as:337] > at > mx.data.mxml::DataService/commit()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\mxml\DataService.as:433] > -- > > João Fernandes > > http://www.onflexwithcf.org > http://www.riapt.org > Portugal Adobe User Group (http://aug.riapt.org) >

