This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Samples
WSO2 ESB includes working examples that demonstrate its features and capabilities. Several sample clients and services are provided in addition to the sample configurations. This document provides scripts to execute available sample scenarios.
The ESB configurations included with each sample are the raw source XML serialization of the sample configuration. You can view the configuration graphically in the management console.
For more information, see the following pages:
- ESB Samples Setup
- Message Mediation Samples
- Sample 10: Introduction to Dynamic Endpoints with the Registry
- Sample 5: Creating SOAP Fault Messages and Changing the Direction of a Message
- Sample 15: Message Enrichment through Synapse
- Sample 9: Introduction to Dynamic Sequences with the Registry
- Sample 6: Manipulating SOAP Headers and Filtering Incoming and Outgoing Messages
- Sample 11: Full Registry-Based Configuration and Sharing a Configuration Between Multiple Instances
- Sample 1: Simple Content-Based Routing (CBR) of Messages
- Sample 8: Introduction to Static and Dynamic Registry Resources and Using XSLT Transformations
- Sample 17: Transforming / Replacing Message Content with PayloadFactory Mediator
- Sample 13: Dual Channel Invocation through Synapse
- Sample 2: CBR with the Switch-Case Mediator Using Message Properties
- Sample 16: Introduction to Dynamic and Static Registry Keys
- Sample 4: Introduction to Error Handling
- Sample 12: One-Way Messaging FireAndForget through ESB
- Sample 3: Local Registry Entry Definitions, Reusable Endpoints and Sequences
- Sample 14: Sequences and Endpoints as Local Registry Items
- Sample 0: Introduction to ESB
- Sample 7: Introduction to Local Registry Entries and Using Schema Validation
- Advanced Mediation with Endpoints
- Sample 62: Routing a Message to a Dynamic List of Recipients and Aggregating Responses
- Sample 54: Session affinity load balancing between 3 endpoints
- Sample 56: WSDL endpoint
- Sample 55: Session affinity load balancing between fail over endpoints
- Sample 50: POX to SOAP conversion
- Sample 51: MTOM and SwA optimizations and request/response correlation
- Sample 60: Routing a Message to a Static List of Recipients
- Sample 61: Routing a Message to a Dynamic List of Recipients
- Sample 59: Weighted load balancing between 3 endpoints
- Sample 53: Failover sending among 3 endpoints
- Sample 52: Sessionless Load Balancing Between 3 Endpoints
- Sample 58: Static load balancing between 3 nodes
- Sample 57: Dynamic load balancing between 3 nodes
- Quality of Service Samples in Message Mediation
- Proxy Service Samples
- Sample 155: Dual Channel Invocation on Both Client Side and Server Side of Synapse with Proxy Services
- Sample 157: Conditional Router for Routing Messages based on HTTP URL, HTTP Headers and Query Parameters
- Sample 153: Routing the Messages Arrived to a Proxy Service without Processing the Security Headers
- Sample 154: Load Balancing with Proxy Services
- Sample 151: Custom Sequences and Endpoints with Proxy Services
- Sample 150: Introduction to Proxy Services
- Sample 152: Switching Transports and Message Format from SOAP to REST POX
- Sample 156: Service Integration with specifying the receiving sequence
- Quality of Service Samples in Service Mediation (proxy)
- Transports Samples and Switching Transports
- Sample 250: Introduction to Switching Transports
- Sample 251: Switching from HTTP(S) to JMS
- Sample 252: Pure Text (Binary) and POX Message Support with JMS
- Sample 253: Bridging from JMS to HTTP and Replying with a 202 Accepted Response
- Sample 254: Using the File System as Transport Medium (VFS)
- Sample 255: Switching from FTP Transport Listener to Mail Transport Sender
- Sample 256: Proxy Services with the MailTo Transport
- Sample 257: Proxy Services with the FIX Transport
- Sample 258: Switching from HTTP to FIX
- Sample 259: Switch from FIX to HTTP
- Sample 260: Switch from FIX to AMQP
- Sample 261: Switch between FIX Versions
- Sample 262: CBR of FIX Messages
- Sample 263: Transport Switching - JMS to http/s Using JBoss Messaging(JBM)
- Sample 264: Sending Two-Way Messages Using JMS transport
- Sample 265: Accessing a Windows Share Using the VFS Transport
- Sample 266: Switching from TCP to HTTP/S
- Sample 267: Switching from UDP to HTTP/S
- Sample 268: Proxy Services with the Local Transport
- Sample 270: Transport switching from HTTP to MSMQ and MSMQ to HTTP
- Sample 271: File Processing
- Introduction to ESB Tasks
- Advanced Mediations with Advanced Mediators
- Using Scripts in Mediation (Script Mediator)
- Database Interactions in Mediation (DBLookup / DBReport)
- Throttling Messages (Throttle Mediator)
- Extending the Mediation in Java (Class Mediator)
- Evaluating XQuery for Mediation (XQuery Mediator)
- Splitting Messages into Parts and Processing in Parallel (Iterate / Aggregate)
- Caching Responses Over Requests (Cache Mediator)
- Synchronize Web Service Invocation with Callout Mediator
- Mediating JSON Messages
- Rewriting the URL (URL Rewrite Mediator)
- Eventing (Event Mediator)
- Mediating with Spring
- Introduction to Rule Mediator
- Miscellaneous Samples
- Sample 653: NHTTP Transport Priority Based Dispatching
- Sample 650: File Hierarchy-Based Configuration Builder
- Sample 659: Huge EDI Message Processing with Smooks Mediator
- Sample 652: Priority Based Message Mediation
- Sample 651: Using Synapse Observers
- Sample 657: Distributed Transaction Management
- Sample 655: Message Relay - Basics Sample
- Sample 658: Huge XML Message Processing with Smooks Mediator
- Sample 654: Smooks Mediator
- Sample 656: Message Relay - Builder Mediator
- Store and Forward Messaging Patterns with Message Stores and Processors
- Template Samples
- REST API Management
- Mediation Library Samples