2 Replies Latest reply on May 4, 2009 10:48 AM by Peter Farland

    Java AMFConnection client - how to login and logout?


      Regarding Java clients using the AMFConnection to connect to AMF based BlazeDS services:


      How can I login and logout?


      I have a Flex client example of how to do this from the spring-flex integration example. You need to create a channel like this:


                      var channel:AMFChannel = new AMFChannel("my-amf", "http://localhost:8080/messagebroker/amf");
                      var channelSet:ChannelSet = new ChannelSet();
                      remoteObject.channelSet = channelSet;


      and then the remote object can be logged in/out of:


                      ro.channelSet.login("guest", "guest");




      How can I do this same thing from the Java AMFConnection client?