Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-5199

ESB Editor - Changes for ESB 4.7

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Critical Critical
    • 3.1.0.CR1
    • 3.1.0.M4
    • esb
    • None
    • Documentation (Ref Guide, User Guide, etc.)

      To support ESB 4.7, we have several new actions, providers, and so on that should be available in the ESB editor.

      1- new provider/bus

      <http-provider name="HTTP-PROVIDER">
      <http-bus busid="HTTP-BUS" transportGuarantee="CONFIDENTIAL">
      <allowed-roles>
      <role name="friend" />
      </allowed-roles>
      </http-bus>
      </http-provider>

      2- new gateway: http-gateway (shown in webservice_proxy_security)

      <listeners>
      <http-gateway name="HTTP-GATEWAY" busidref="HTTP-BUS"
      urlPattern="ProxyWS/*" />
      </listeners>

      3- new action: org.jboss.soa.esb.actions.soap.proxy.SOAPProxy - (shown
      in quickstarts\webservice_proxy_basic)

      <action name="proxy"
      class="org.jboss.soa.esb.actions.soap.proxy.SOAPProxy">
      <property name="wsdl"
      value="https://localhost:8443/webservice_proxy_security/HelloWorldWS?wsdl"/>
      <property name="endpointUrl"
      value="https://localhost:8443/webservice_proxy_security/HelloWorldWS"/>
      <property name="file"
      value="/META-INF/httpclient-8443.properties"/>
      </action>

      4- security changes (shown in webservice_proxy_security):

      <globals>
      <!-- Security setting for all http-providers and all EBWSs in
      this jboss-esb.xml file.-->
      <war-security method="BASIC" domain="JBossWS" /> <!-- uname:
      "kermit" pw: "thefrog" -->
      </globals>

      5- new action: xsltaction (shown in webservice_proxy_versioning) - this one should allow opening the templateFile with the XSLT editor now included in JBT/JBDS and browsing for the file

      <action name="proxy-transform-old-to-new"

      class="org.jboss.soa.esb.actions.transformation.xslt.XsltAction">
      <property name="templateFile"
      value="/Proxy_Versioning_RequestTransform.xsl"/>
      <property name="failOnWarning" value="true"/>
      <property name="resultType" value="STRING"/>
      </action>

      6- changes to the ContentBasedRouterAction (shown in the ESB4.7 fun_cbr)

      <action class="org.jboss.soa.esb.actions.ContentBasedRouter"
      name="ContentBasedRouter">
      <property name="cbrAlias" value="Regex"/>
      <property name="ruleSet"
      value="/regex-rules.properties"/>
      <property name="ruleReload" value="true"/>
      <property name="destinations">
      <route-to destination-name="blue"
      service-category="BlueTeam" service-name="GoBlue" />
      <route-to destination-name="red"
      service-category="RedTeam" service-name="GoRed" />
      <route-to destination-name="green"
      service-category="GreenTeam" service-name="GoGreen" />
      </property>
      </action>

      and

      <action class="org.jboss.soa.esb.actions.ContentBasedRouter"
      name="ContentBasedRouter">
      <property name="cbrAlias" value="XPath"/>
      <property name="destinations">
      <namespace prefix="ord"
      uri="http://org.jboss.soa.esb/Order" />
      <route-to service-category="BlueTeam"
      service-name="GoBlue" expression="/ord:Order[@statusCode='0']" />
      <route-to service-category="RedTeam"
      service-name="GoRed" expression="/ord:Order[@statusCode='1']" />
      <route-to service-category="GreenTeam"
      service-name="GoGreen" expression="/ord:Order[@statusCode='2']" />
      </property>
      </action>

        1. jbossesb-1.2.0.xsd
          73 kB
          Brian Fitzpatrick
        2. ProgrammersGuideESB4.7.pdf
          1.53 MB
          Brian Fitzpatrick

              scabanovich Viacheslav Kabanovich (Inactive)
              bfitzpat_rh Brian Fitzpatrick (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: