Hi All,
I'm using Data service with channel set is RTMP Channel and Remote Object is AMF Channel. Now, I want to set Dataservice using AMF Channel but I do not know whether it is possible or not. Please help me !!!
Thanks so much.
Views
Replies
Total Likes
As per my knowledge, data service componenet works on rtmp protocol and cannot be set using AMF.
Regards,
Shally
Views
Replies
Total Likes
Thanks for your help.
As you reply, Dataservice only using RTMP Channel ???
Thanks,
Thanh
Views
Replies
Total Likes
Yes…that is what I have read and implemented so far.
Views
Replies
Total Likes
@Shally : I researched on very much tutorial. If you use Dataservice without auto synchronization, you can use the AMF Channel normally, to using it you have to config services-config.xml and data-management-config.xml file as below :
services-config.xml :
<channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
<endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
<properties>
<polling-enabled>false</polling-enabled>
</properties>
</channel-definition>
data-management-config.xml :
<default-channels>
<channel ref="my-rtmp"/>
<channel ref="my-amf" />
</default-channels>
Thanks,
Dang Thanh
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies