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. You can use the sample configurations as a starting point when building your own configurations. To try a sample, follow the setup instructions to set up the samples and start the back-end services, and then use the provided sample clients to run them. For details on running a specific sample, browse the list of samples below and click the link for the sample you want to try.
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.
- ESB Samples Setup
- Using the Sample Clients
- Message Mediation Samples
- Sample 8: Introduction to Static and Dynamic Registry Resources and Using XSLT Transformations
- Sample 15: Message Enrichment through Synapse
- Sample 13: Dual Channel Invocation through Synapse
- Sample 7: Introduction to Local Registry Entries and Using Schema Validation
- Sample 1: Simple Content-Based Routing (CBR) of Messages
- Sample 3: Local Registry Entry Definitions, Reusable Endpoints and Sequences
- Sample 5: Creating SOAP Fault Messages and Changing the Direction of a Message
- Sample 6: Manipulating SOAP Headers and Filtering Incoming and Outgoing Messages
- Sample 9: Introduction to Dynamic Sequences with the Registry
- Sample 2: CBR with the Switch-Case Mediator Using Message Properties
- Sample 16: Introduction to Dynamic and Static Registry Keys
- Sample 12: One-Way Messaging FireAndForget through ESB
- Sample 0: Introduction to ESB
- Sample 10: Introduction to Dynamic Endpoints with the Registry
- Sample 17: Transforming / Replacing Message Content with PayloadFactory Mediator
- Sample 4: Introduction to Error Handling
- Sample 14: Sequences and Endpoints as Local Registry Items
- Sample 11: Full Registry-Based Configuration and Sharing a Configuration Between Multiple Instances
- Advanced Mediation with Endpoints
- Sample 56: WSDL endpoint
- Sample 57: Dynamic load balancing between 3 nodes
- Sample 53: Failover sending among 3 endpoints
- Sample 51: MTOM and SwA optimizations and request/response correlation
- Sample 61: Routing a Message to a Dynamic List of Recipients
- Sample 58: Static load balancing between 3 nodes
- Sample 59: Weighted load balancing between 3 endpoints
- Sample 54: Session affinity load balancing between 3 endpoints
- Sample 52: Sessionless Load Balancing Between 3 Endpoints
- Sample 60: Routing a Message to a Static List of Recipients
- Sample 55: Session affinity load balancing between fail over endpoints
- Sample 50: POX to SOAP conversion
- Sample 62: Routing a Message to a Dynamic List of Recipients and Aggregating Responses
- Quality of Service Samples in Message Mediation
- Proxy Service Samples
- Sample 150: Introduction to Proxy Services
- Sample 151: Custom Sequences and Endpoints with Proxy Services
- Sample 152: Switching Transports and Message Format from SOAP to REST POX
- Sample 153: Routing the Messages Arrived to a Proxy Service without Processing the Security Headers
- Sample 154: Load Balancing with Proxy Services
- Sample 155: Dual Channel Invocation on Both Client Side and Server Side of Synapse with Proxy Services
- Sample 156: Service Integration with specifying the receiving sequence
- Sample 157: Conditional Router for Routing Messages based on HTTP URL, HTTP Headers and Query Parameters
- Quality of Service Samples in Service Mediation
- 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)
- Mediating JSON Messages
- Rewriting the URL (URL Rewrite Mediator)
- Eventing (Event Mediator)
- Mediating with Spring
- Invoking Web Services
- Introduction to Rule Mediator
- Miscellaneous Samples
- Sample 657: Distributed Transaction Management
- Sample 653: NHTTP Transport Priority Based Dispatching
- Sample 659: Huge EDI Message Processing with Smooks Mediator
- Sample 658: Huge XML Message Processing with Smooks Mediator
- Sample 652: Priority Based Message Mediation
- Sample 654: Smooks Mediator
- Sample 651: Using Synapse Observers
- Sample 655: Message Relay - Basics Sample
- Sample 656: Message Relay - Builder Mediator
- Sample 650: File Hierarchy-Based Configuration Builder
- Store and Forward Messaging Patterns with Message Stores and Processors
- Sample 705: Load Balancing with Message Forwarding Processor
- Sample 700: Introduction to Message Store
- Sample 704: RESTful Invocations with Message Forwarding Processor
- Sample 703: Adding Security to Message Forwarding Processor
- Sample 701: Introduction to Message Sampling Processor
- Sample 702: Introduction to Message Forwarding Processor
- Template Samples
- REST API Management