Hide Forgot
Description of problem: The procedure given in https://access.redhat.com/site/documentation/en-US/OpenShift_Enterprise/2/html-single/Deployment_Guide/index.html#sect-External_Load_Balancing could be automated in openshift.ks. Let's add this as an option when we get time. Should be off by default so we don't queue stuff on ActiveMQ that will never be used.
I did it :) https://github.com/openshift/openshift-extras/pull/258 Might be wise for QE to check I didn't mess anything up. Note also the "echo" listener https://github.com/openshift/openshift-extras/blob/enterprise-2.0/admin/routing-listeners/echo.rb
check it on latest openshift.ks script. 1.modify the CONF_ROUTING_PLUGIN to true as follow: # vim openshift.ks <--snip--> CONF_ROUTING_PLUGIN=true CONF_ROUTING_PLUGIN_USER=routinginfo CONF_ROUTING_PLUGIN_PASS=routinginfopassword 2.delete the install os content. 3.install the openshift testing env using "openshift.ks" 4.generate the testing script #vim test.rb require 'rubygems' require 'stomp' c = Stomp::Client.new("routinginfo", "routinginfopassword", "localhost", 61613, true) c.subscribe('/topic/routinginfo') { |msg| puts puts msg } c.join 5.run the test.rb, the create an app.check the output of the testing script. Output: <Stomp::Message headers={"content-type"=>"text/plain; charset=UTF-8", "message-id"=>"ID:broker.ose20-xiama.com.cn-24337-1388641460197-3:2:-1:1:1", "destination"=>"/topic/routinginfo", "timestamp"=>"1388641604652", "expires"=>"0", "subscription"=>"c707e52abaa201ff133037d1275eb887fbd7352b", "content-length"=>"69", "priority"=>"4"} body='--- :action: :create_application :app_name: xiaom1 :namespace: xiaom ' command='MESSAGE' > check the problem with "openshift.sh" script by the same method. move it to verify.