Request RTMP stream from Adobe Media Server and stream it as HLS

I am trying to get an rtmp stream from AMS server and create a new hls stream in my wowza application.

I used appInstance.startMediaCasterStream i can see the stream but HLS is not supported… Is there any other way i can do this?