Hi, Did a quick review/testing of the HTTP inbound impl of ESB 4.9. Please find the comments below.
*Dispatching logic * Dispatching logic should be corrected as follows: HTTP Inbound -> API | service | named sequence. If none of these exist, request should goes to main seq. *Improvements* : - Remove api dispatching param and make api dispatching works as similar to service dispatching. - Dispatching sequence and error sequence is not mandatory parameters. - Does suspend param make sense? If so, we should stop listening on that port. - Worker pool config.. - UI is bit misleading.Here, the users can define a dedicated worker pool or use the default shared worker pool for a given HTTP Inbound EP. (Change UI to use default worker pool or define a new worker pool) - Change inbound EP icon. Testing : ST mode ----------- http://127.0.0.1:6060 - OK (dispatched to seq.) http://127.0.0.1:6060/foo/bar - OK (dispatched to seq.) http://127.0.0.1:6060/services/NoSuchService - OK (dispatched to seq.) http://127.0.0.1:6060/services/StockQuoteProvider - OK (dispatched to service.) http://127.0.0.1:6060/stockquoteproviderAPI - (dispatched to API.) only works with API dispatching param. MT Mode ------------- http://127.0.0.1:7070 : OK (Cannot invoke the inbound of the tenant if the URL doesn't have the tenant domain. That's the expected behavior) http://127.0.0.1:7070/t/kasun.com : OK (dispatched to tenant-seq.) http://127.0.0.1:7070/t/kasun.com/foo/bar : OK (dispatched to tenant-seq.) http://127.0.0.1:7070/services/t/kasun.com/StockQuoteProvider : OK (dispatched to tenant-service.) http://10.100.1.203:7070/t/kasun.com/stockquoteprovider : (dispatched to API.) only works with API dispatching param. Port sharing among ST and tenants : OK Everything works smoothly with the new call/respond message flow model. HTTP Inbound with tenant loading/unloading - OK *Errors* : - In MT mode : main seq get invoke for GET wsdl of a given proxy service through a HTTP Inbound. - Requests to inbound EPs with non-existing sequences are not - Save an existing sequence with an invalid port etc. Entire inbound disappears with a blank page. NPE :[2015-06-25 17:40:25,100] ERROR - InboundManagementClient org.apache.axis2.AxisFault: Please provide port number as integer instead of port [2015-06-25 17:40:26,402] ERROR - InboundManagementClient java.lang.NullPointerException - HTTP inbound EP cannot have registry values as params. (refer : architecture@ 'Dynamic parameters with inbound endpoints') -- Kasun Indrasiri Software Architect WSO2, Inc.; http://wso2.com lean.enterprise.middleware cell: +94 77 556 5206 Blog : http://kasunpanorama.blogspot.com/
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
