Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-7108

Gatway-Http mapping to broker group is not working in latest available 6.3 build.

XMLWordPrintable

    • % %
    • Hide
      • Follow below steps.
        fabric:create --resolver manualip --manual-ip localhost --wait-for-provisioning 
        mq-create --create-container broker --replicas 2 --data /home/cpandey/activemq/hq-broker --group master_slave hq-example
        container-add-profile child1 gateway-http 
        container-add-profile child1 gateway-mq 
        
      • Change the property 'uriTemplate= {contextPath}

        /' in
        'io.fabric8.gateway.http.mapping-servlets.properties' for 'gateway-http' profile as per screenshot gatewayhttp_mapping.png.

      • In Red Hat JBoss Fuse 6.3.0 latest build, browse 'http://localhost:9000/mq-discovery/master_slave', we get Group not found in response in browser.
      • In Red Hat JBoss Fuse 6.2.1 GA, it works well. Check screenshot EndpointList_in621GA.png it return list of available endpoints in master broker.
      • I also attached screenshot while debugging this behavior.
      Show
      Follow below steps. fabric:create --resolver manualip --manual-ip localhost --wait- for -provisioning mq-create --create-container broker --replicas 2 --data /home/cpandey/activemq/hq-broker --group master_slave hq-example container-add-profile child1 gateway-http container-add-profile child1 gateway-mq Change the property 'uriTemplate= {contextPath} /' in 'io.fabric8.gateway.http.mapping-servlets.properties' for 'gateway-http' profile as per screenshot gatewayhttp_mapping.png. In Red Hat JBoss Fuse 6.3.0 latest build, browse 'http://localhost:9000/mq-discovery/master_slave', we get Group not found in response in browser. In Red Hat JBoss Fuse 6.2.1 GA, it works well. Check screenshot EndpointList_in621GA.png it return list of available endpoints in master broker. I also attached screenshot while debugging this behavior.

      • Fabric environment should be similar to:
        JBossFuse:karaf@root> container-list
        [id]       [version]  [type]  [connected]  [profiles]                             [provision status]
        root*      1.0        karaf   yes          fabric                                 success           
                                                   fabric-ensemble-0000-1                                   
                                                   jboss-fuse-full                                          
          broker1  1.0        karaf   yes          mq-broker-master_slave.hq-example-621  success         
          broker2  1.0        karaf   yes          mq-broker-master_slave.hq-example-621  success           
          child1   1.0        karaf   yes          default                                success           
                                                   gateway-http                                             
                                                   gateway-mq                                               
        JBossFuse:karaf@root> 
        

        1. WorkingIn_6_2_1_GA.png
          WorkingIn_6_2_1_GA.png
          182 kB
        2. NotWorkingIn_6_3_0_262_.png
          NotWorkingIn_6_3_0_262_.png
          190 kB
        3. gatewayhttp_mapping.png
          gatewayhttp_mapping.png
          78 kB
        4. EndpointList_in621GA.png
          EndpointList_in621GA.png
          13 kB

              pantinor@redhat.com Paolo Antinori
              rhn-support-cpandey Chandra Shekhar Pandey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: