Hi All

I am thinking of improving and streamlining the Synapse samples before our 1.0 release.. as such I am hoping to structure the current samples as stated below and add the missing pieces.

_Sample Clients
_I feel that a single command line client could replace the current stockquote, customquote and dumbstockquote and placeorder as follows:

ant stockquote
[-Dsymbol=<sym>] [-Drepository=<repo>] [-Dpolicy=<policy>] [-Dmode=quote | customquote | fullquote | placeorder | marketactivity] [-Daddressingurl=<url>] [-Dtransporturl=<url> | -Dproxyurl=<url>]

Specifying a transporturl alone would implement the 'gateway' model, and specifying a proxyurl alone would implement the 'http proxy' model. Specifying a WS-A url different from the transport url would be the 'smart client' mode. I hope to document the differences of these for proper understanding by those who are new to Synapse. The mode would select if the outgoing payload would be a getQuote, placeOrder, customQuote (to be transformed through Synapse) or two new operations for getFullQuote (to test a small request and a large response) and getMarketActivity (to test a large request and a large response) for performance and large message testing

_Sample Services)_
Similarly I think the SimpleStockQuoteService, SecureStockQuoteService and the FastStockQuoteService would be adequate to cover all cases. (Note: the FastStockQuoteService is a pure static response service used only for performance testing aspects)

_Sample Configurations

_Message Mediation
   Deployment models
   Sequences
   Endpoints
   Local Registry
   Mediators
       Content based routing
           soap/transport headers
           message body
       Switch case & property
       Validation
       Transformation
       Header manipulation
       Class mediator
       Script mediation
   Error handling
   Remote Registry resources
       Dynamic Sequences
       Dynamic Endpoints
       Full registry based configurations

   Endpoints
       Address endpoints
           SOAP/POX conversion
           WS-Addressing
           WS-Security
           WS-RM
       WSDL Endpoints
       Loadbalancing
       Failover

   Proxy services
       Transport switching
       Custom/inline sequences
       Publishing a WSDL
       REST proxies
       WS-Security
       WS-RM

   Transports
       HTTPS
- Keystores (identity/trust), 2-way auth, hostname verification, debugging
       Binary and Text JMS to SOAP

   Miscellaneous
       One way messaging
       MTOM


I am planning to make these changes over this week, so some of the samples may get broken during the changes.. please bear with me. Also I am going to document each sample in a separate HTML of its own - I hope this would provide us with enough 'space' for each sample - if we want to introduce images or embed the configuration etc. and allow us to present each sample more clearly with sample output etc.

Let me know if you have any suggestions for improvement or inclusion - especially from the point of view of end users who are new to Synapse

asankha

Reply via email to