Expand my Community achievements bar.

How to set LiveCycle Data Service to use AMF Channel ?

Avatar

Level 2

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.

4 Replies

Avatar

Former Community Member

As per my knowledge, data service componenet works on rtmp protocol and cannot be set using AMF.

Regards,

Shally

Avatar

Level 2

Thanks for your help.

As you reply, Dataservice only using RTMP Channel ???

Thanks,

Thanh

Avatar

Former Community Member

Yes…that is what I have read and implemented so far.

Avatar

Level 2

@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