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.
- Setting Up the ESB Samples
- Using the Sample Clients
- Message Mediation Samples
- Sample 4: Specifying a Fault Sequence with a Regular Mediation Sequence
- Sample 9: Introduction to Dynamic Sequences with the Registry
- Sample 17: Transforming / Replacing Message Content with PayloadFactory Mediator
- Sample 0: Introduction to ESB
- Sample 5: Creating SOAP Fault Messages and Changing the Direction of a Message
- Sample 7: Using Schema Validation and the Usage of Local Registry for Storing Configuration Metadata
- Sample 10: Introduction to Dynamic Endpoints with the Registry
- Sample 12: One-Way Messaging in a Fire-and-Forget Mode through ESB
- Sample 6: Manipulating SOAP Headers and Filtering Incoming and Outgoing Messages
- Sample 1: Simple Content-Based Routing (CBR) of Messages
- Sample 13: Dual Channel Invocation Through Synapse
- Sample 8: Introduction to Static and Dynamic Registry Resources and Using XSLT Transformations
- Sample 3: Local Registry Entry Definitions, Reusable Endpoints and Sequences
- Sample 2: CBR with the Switch-Case Mediator Using Message Properties
- Sample 14: Using Sequences and Endpoints as Local Registry Items
- Sample 15: Using the Enrich Mediator for Message Copying and Content Enrichment
- Sample 16: Introduction to Dynamic and Static Registry Keys
- Sample 11: Using a Full Registry-Based Configuration and Sharing a Configuration Between Multiple Instances
- Advanced Mediation with Endpoints
- Sample 51: MTOM and SwA Optimizations and Request/Response Correlation
- Sample 52: Using Load Balancing Endpoints to Handle Peak Loads
- Sample 58: Static Load Balancing between Three Nodes
- Sample 61: Routing a Message to a Dynamic List of Recipients
- Sample 60: Routing a Message to a Static List of Recipients
- Sample 55: Session Affinity Load Balancing between Failover Endpoints
- Sample 59: Weighted load balancing between 3 endpoints
- Sample 54: Session Affinity Load Balancing between Three Endpoints
- Sample 62: Routing a Message to a Dynamic List of Recipients and Aggregating Responses
- Sample 50: POX to SOAP conversion
- Sample 57: Dynamic Load Balancing between Three Nodes
- Sample 56: Using a WSDL Endpoint as the Target Endpoint
- Sample 53: Using Failover Endpoints to Handle Peak Loads
- 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 Messages that Arrive to a Proxy Service without Processing 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: Switching 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 654: Smooks Mediator
- Sample 659: Huge EDI Message Processing with Smooks Mediator
- Sample 651: Using Synapse Observers
- Sample 655: Message Relay - Basics Sample
- Sample 656: Message Relay - Builder Mediator
- Sample 658: Huge XML Message Processing with Smooks Mediator
- Sample 657: Distributed Transaction Management
- Sample 652: Priority Based Message Mediation
- Sample 653: NHTTP Transport Priority Based Dispatching
- Sample 650: File Hierarchy-Based Configuration Builder
- Store and Forward Messaging Patterns with Message Stores and Processors
- Sample 700: Introduction to Message Store
- Sample 703: Adding Security to Message Forwarding Processor
- Sample 701: Introduction to Message Sampling Processor
- Sample 704: RESTful Invocations with Message Forwarding Processor
- Sample 702: Introduction to Message Forwarding Processor
- Sample 705: Load Balancing with Message Forwarding Processor
- Template Samples
- REST API Management