[
https://jira.jboss.org/jira/browse/JBIDE-5199?page=com.atlassian.jira.plu...
]
Viacheslav Kabanovich commented on JBIDE-5199:
----------------------------------------------
Brian, thank you for the guide. I have found next new features comparing to currently
implemented features in ESB editor. Will you please comment on which of them are really
new in 4.7, and which are to be implemented for both versions of ESB editor. Also, I put
some questions below when something is not clear.
1. ObjectToXStream - modified
Added properties - aliases, namespaces, fieldAliases, converters.
2. XStreamToObject - modified
Added properties - aliases, attribute-aliases, fieldAliases, implicit-collections,
converters.
3. XsltAction - new
Properties - templateFile, resultType, failOnWarning, get-payload-location,
set-payload-location, uriResolver
4. SmooksAction - modified
Added property - mappedContextObjects
Removed properties - excludeNonSerializables, messageProfile - (Are they totally excluded
or supported for backward compatibility?)
5. PersistAction - new
Properties - classification, message-store-class, terminal
6. BpmProcessor - new
Properties- command, processdefinition, process-definition-id, actor, key,
transition-name, esbToBpmVars
Example contains process-definition-name instead of processdefinition, so which one is
correct?
7. GroovyAction - modified
Added properties - supportMessageBasedScripting, cacheScript
8. ScriptingAction - new
Properties - script, supportMessageBasedScripting, language
9. EJBProcessor - new
Properties - ejb3, ejb-name, jndi-name, initial-context-factory, provider-url, method,
ejb-params, esb-out-var
10. HttpRouter - new
Properties - routeUrl, endpointUrl, method, responseType, headers
Question - does action have property 'file', or it only can be set by
http-client-property child element of endpoitUrl property?
11. JMSRouter - new
12. EmailRouter - new
Could you please provide example of 'attachment' usage?
13. ContextBasedRouter - modified
Added properties cbrAlias, namespaces.
In one of your samples, element <namespace> is put under property
"destinations" rather than "namespaces", is it a correct usage?
14. SyncServiceInvoker - new
15. EmailWiretap - new
Also request for example of 'attachment' usage.
16. SOAPProcessor - modified
Added property - rewrite-endpoint-url
17. Wise SOAP Client - new
18. SOAPClient - modified
Added properties - get-payload-location, set-payload-location, responseXStreamConfig,
responseAsOgnlMap
19. SOAPProxy - new
Properties - wsdl, wsdlTransform, and any properties used by HttpRouter.
Hence, the same question about property 'file' used in your sample.
20. SchemaValidationAction - new
Properties - schema, schemaLanguage.
ESB Editor - Changes for ESB 4.7
--------------------------------
Key: JBIDE-5199
URL:
https://jira.jboss.org/jira/browse/JBIDE-5199
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: esb
Affects Versions: 3.1.0.M4
Reporter: Brian Fitzpatrick
Assignee: Viacheslav Kabanovich
Fix For: 3.1.0.CR1
Attachments: jbossesb-1.2.0.xsd, ProgrammersGuideESB4.7.pdf
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
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>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira