Package com.sun.messaging.ums.provider.openmq

Examples of com.sun.messaging.ums.provider.openmq.ProviderBrokerInfoService


    private static ProviderBrokerInfoService service = null;
   
    public static void init (Properties props) throws JMSException {
        //props = props;
       
        service = new ProviderBrokerInfoService();
        service.init(props);
    }
View Full Code Here


     * @return  The service implementation must construct a proper formatted
     * java string object and return as the request response.
     */
     public ReadOnlyResponseMessage request (ReadOnlyRequestMessage request) {
               
        ProviderBrokerInfoService bis = BrokerInfoService.getProviderBrokerInfoService(null);
                  
        String user = request.getMessageProperty (Constants.USER);
       
        String pass = request.getMessageProperty (Constants.PASSWORD);
       
        String respMsg = bis.getBrokerInfo(request, user, pass);
       
        ReadOnlyResponseMessage rorm = ReadOnlyMessageFactory.createResponseMessage();
       
        rorm.setResponseMessage (respMsg);
       
View Full Code Here

TOP

Related Classes of com.sun.messaging.ums.provider.openmq.ProviderBrokerInfoService

Copyright © 2018 www.massapicom. 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.