Thanx everyone. Was able to resolve the issue by explicing specify the secure channel to be used. Once the issue was not using amf-secure channelset and other time the issue ws point to amf instead of amsecure. In config file it was correct but since we switch dynamically for our product implementation things got messed up.
Thanx and Regards -- Jitesh Shah, PMP