Package flex.messaging.services

Examples of flex.messaging.services.HTTPProxyService.addDestination()


        getMessageBroker().addService(proxyService);
       
        // Create destination and add to the Service
        String dest = "HTTPProxyDest_startup";
        HTTPProxyDestination proxyDest = createProxyDestination(dest, proxyService);                  
        proxyService.addDestination(proxyDest);
       
        // This is needed to set the properties on the adapter: after both service
        // and destination exist
        createAdapter(proxyDest);       
    }
View Full Code Here


        // set destination properties
              
        proxyDest.setDefaultUrl("http://{server.name}:{server.port}/{context.root}/services/WeatherService?wsdl");
        proxyDest.addDynamicUrl("http://{server.name}:*/{context.root}/services/WeatherService");

        proxyService.addDestination(proxyDest);
       
        if (proxyService.isStarted())
            proxyDest.start();
       
        return "Destination: "+id+" created for Service: "+serviceId;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.