WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Generating an HTTP server configuration by using the Message Broker API

Generate a configuration file for either the WebSphere® Application Server plug-in or the Apache mod_proxy module to use for connecting to a web server such as IBM® HTTP Server (IHS).

Use the Message Broker API to generate the file contents for the mod_proxy module or the WebSphere Application Server plug-in configuration files. These files contain port and URL data for multiple brokers on multiple servers.
Call the appropriate static method on the BrokerProxy class.
  • If you are using the WebSphere Application Server plug-in, use the following method, passing in as parameters a java.util.Map mapping of BrokerProxy objects to host names and a value of data type long that represents a timeout interval in milliseconds:
    public static String generateWASPlugin(Map <BrokerProxy,String> brokerHostMap, long timeoutInMilliseconds) 
                                   throws ConfigManagerProxyLoggedException
  • If you are using the Apache mod_proxy module, use the following method, passing in as parameters a java.util.Map mapping of BrokerProxy objects to host names and a value of data type long that represents a timeout interval in milliseconds:
    public static String generateModProxyPlugin(Map <BrokerProxy,String> brokerHostMap, long timeoutInMilliseconds) 
                                   throws ConfigManagerProxyLoggedException
  • If you want to use an alternative to the plug-ins provided by WebSphere Application Server or Apache, you can use the following static CMP method on the BrokerProxy class to retrieve port and URL data for an individual broker in CSV format.
    public static String getPortConfigAsCSV() 
                                   throws ConfigManagerProxyLoggedException
For more information, see the CMP reference documentation at CMP API.
Now that you have generated a configuration file, complete the relevant product instructions for configuring the web server:
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:48:07


Task topicTask topic | Version 8.0.0.7 | be55230_