Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword or section
Like this
11Activity

Table Of Contents

Purpose
Structure
Licensing
Disclaimers
Thanks
Prerequisites
Part One – The Examples
1. Standalone Mule Exposing a Web Service
1.1. Create the Project
1.2. Create the Web Service Implementation Class
1.3. Create the Starter Class
1.4. Create the Mule Configuration Files
Create the Mule 2.x Configuration File
Create the Mule 3.x Configuration File
1.5. Run the Example Starter Program
Run the Mule 3.x Version
Run the Mule 2.x Version
1.6. Run the Mule Configuration Files
2. Mule in Web Applications
2.1. Prepare Tomcat for Mule Development
Add the Necessary Libraries to the Tomcat Server
Configure a Tomcat Server in Eclipse
Configuring a Standalone Tomcat Server
2.2. Tomcat Mule Example Web Application
Create the Project
Create the Service Implementation Class
Create the Mule Configuration Files
Create the Deployment Descriptor
Deploy the Web Application
Test the Service
3. Modular Mule Configuration
3.1. Create the Project
3.2. Create the Service Implementation Class
3.3. Create the Custom Exception Handler/Listener Classes
Create the Mule 2.x Custom Exception Listener
Create the Mule 3.x Custom Exception Handler
3.4. Create the Mule Configuration Files
Create the Mule 2.x Configuration Files
Create the Mule 3.x Configuration Files
3.5. Run the Example Program
4. Insert File Data into a Database
4.1. Create the Project
4.2. Add Dependencies
Create the Mule JDBC Connector Configuration Files
Create the Main Mule Configuration Files
4.6. Run the Example Program
4.7. Mule 3.x Version with Flow
5. Validate XML Data
5.1. Create the Project
5.2. Create the XML Schemas
5.3. Create XML Data Files
5.4. Create the Mule Configuration Files
The Mule 2.x Configuration File
The Mule 3.x Configuration File
5.5. Run the Example Program
5.6. Validation and XML Schema Imports
Modify the XML Schema
Implement a Resource Resolver
Modify the Schema Validators
Run the Example Program
6. Extract XML Message Payload with XPath
6.1. Create the Project
6.2. Create XML Data Files
6.3. Create the Mule Configuration Files
The XPath Expression
6.4. Run the Example Program
6.5. Exercises
7. Monitoring Mule
7.1. Create the Project
7.2. Create the Web Service Implementation Class
7.3. Create the Mule Configuration Files
7.4. Run the Example Program
Run the Mule 2.x Example Program
Run the Mule 3.x Example Program
Test the Running Example Program
7.5. Managing a Mule Instance Using JMX
Run JConsole
Generate Some Statistics
Starting and Stopping a Mule Instance Using JMX
7.6. MX4J and Mule
7.7. Monitoring Mule in Web Applications
8. Mule Notifications
8.1. Create the Project
8.2. Create the Service Implementation Class
8.3. Create the Notification Listeners
Create the Common Notification Listener Base Class
Create the Mule 2.x Notification Listener
Create the Mule 3.x Notification Listener
8.4. Create the Mule Configuration Files
8.5. Run the Example Program
Create a soapUI Client
Examine the Mule 2.x Example Program Result
Create the Hello Service Implementation Class
Create the Logging Service Implementation Class
9.5. The Callable Interface
9.6. Create the Starter Classes
Create the Mule 2.x Starter Class
Create the Mule 3.x Starter Class
9.7. Create the Exception Listeners
Create the Mule 2.x Exception Listener
Create the Mule 3.x Exception Listener
9.8. Create the Mule Configuration Files
9.9. Run the Example Program
Run the Mule 2.x Version of the Example Program
Send a Message to the First Endpoint
Examine the Output
Sending Message to the Second Endpoint
Run the Mule 3.x Version of the Example Program
9.10. Exercises
10. Mule Programmatic Use and Message Properties
10.1. Introduction to Message Properties
10.2. Create the Project
10.3. Create the Mule Configuration Files
Mule 2.x Configuration Files
Mule 3.x Configuration Files
10.4. Create the Starter Classes
10.5. Run the Example Program
Running the Mule 3.x Version of the Example Program
10.6. Exercises
11. Testing Mule Configurations
11.1. Create the Project
11.2. Create the Tests
Create the Common Test Class
Create the Mule 2.x Test
Create the Mule 3.x Test
11.3. Create the Mule Configuration Files
11.4. Create the Service Implementation Classes
Create the Mule 2.x Service Implementation Class
Create the Mule 3.x Service Implementation Class
11.5. Run the Example Program
11.6. Additional Exercises
12. Create Mule Projects with Maven
12.1. Prerequisites
12.2. Create the Project
12.3. Import Project Into Eclipse
12.4. Configure Project in Eclipse
12.5. Use Maven in Eclipse
Maven Goals
Create an Eclipse Maven Run Configuration
13. Mule Configuration Patterns
13.1. Create the Project
13.2. The Bridge Pattern
Synchronous Bridge
Create Inbound and Outbound Services
Bridge the Services
Run the Synchronous Bridge
Asynchronous Bridge
Create the Outbound Service
Run the Asynchronous Bridge
13.3. The Simple Service Pattern
JAX-RS Simple Service
Create the Component Implementation Class
Modify the Mule Configuration File
Run the JAX-RS Simple Service
Simple Services and Inheritance
Run the Simple Service with Inheritance
JAX-WS Simple Service
Run the JAX-WS Simple Service
JAXB Simple Service
Create JAXB Classes
Create Example Data
Run the JAXB Simple Service
XPath Simple Service
Run the XPath Simple Service
13.4. The Validator Pattern
First Validator Example
Run the First Validator Example
Second Validator Example
Run the Second Validator Example
Third Validator Example
Run the Third Validator Example
13.5. The Web Service Proxy Pattern
Example Preparations
Create the Mule Configuration File
Implement a Custom Logging Transformer
Create the Service WSDL
Create the Mock Service in soapUI
First Web Service Proxy Example
Create the Double Sum XSL Transform
Modify the WSDL File
Part Two – Recipes and Reference
1. Message Routing
1.1. Selecting Outbound Endpoint Depending on the Message
1.2. Routing a Message Depending on a Single Filter
1.3. Exception-Dependent Message Routing
The Exception-Based Router
The First-Successful Message Processor
2. Filtering
2.1. Validating XML Message Payload
2.2. Combining Filters
The AND-filter
The OR-filter
The NOT-filter
2.3. Implementing Custom Filters
3. Transforming
3.1. Extract Part of an XML Message with XPath
3.2. Transform XML Data Using XSL
3.3. Pack or Unpack Message Payload Data
3.4. Custom Transformers
Mule 2.x Custom Transformers
Mule 3.x Custom Transformers
4. Message Properties
4.1. Retrieving Message Properties
4.2. Setting Message Properties
4.3. Removing Message Properties
4.4. Renaming Message Properties
4.5. Reading and Writing Message Properties to Different Scopes
5. Expressions
5.1. Evaluators
Attachment Evaluator
Attachments Evaluator
Attachments-List Evaluator
Bean Evaluator
Endpoint Evaluator
Exception-Type Evaluator
Function Evaluator
Groovy Evaluator
Header Evaluator
Headers Evaluator
Headers-List Evaluator
JSON Evaluator
JSON-Node Evaluator
JXPath Evaluator
Map-Payload Evaluator
Message Evaluator
OGNL Evaluator
Payload Evaluator
Payload-Type Evaluator
Processor Evaluator
Regex Evaluator
String Evaluator
Variable Evaluator
Wildcard Evaluator
XPath Evaluator
XPath-Node Evaluator
6. Notifications
6.1. Notification Event Types
6.7. Registering a Notification Listener Programmatically
7. Mule JMX Management
Mule 2.x JMX Management
Mule 2.x Server Global Configuration
Mule 2.x Connectors Configuration
Mule 2.x Endpoint Configuration
Mule 2.x Model Configuration
Mule 2.x Context Configuration
Mule 2.x Notification Configuration
Mule 2.x Service Configuration
Mule 2.x Statistics Configuration
Mule 3.x JMX Management
Mule 3.x Application Statistics
Mule 3.x Server Global Configuration
Mule 3.x Connectors Configuration
Mule 3.x Endpoint Configuration
Mule 3.x Flow Configuration
Mule 3.x Model Configuration
Mule 3.x Context Configuration
Mule 3.x Statistics Configuration
Mule 3.x Notification Configuration
8. Package a Mule Application
8.1. Package Mule 2.x Applications
8.2. Package Mule 3.x Applications
9. Testing
9.1. Exception Component
9.2. Return Mock Data from a Component
9.3. Logging Message Details
9.4. Retain a Message History
9.5. Introduce a Delay
9.6. Append Text to Received Messages
Appendix A – Prepare for Mule Development
1. Download and Install Mule
2. Install the Eclipse Mule Plugin
3. Configure the Mule Plugin in Eclipse
Appendix B – Create a Mule Project
1. Create the Project
2. Switch off the Mule 3 Hot Deployment Builder
3. Create Mule Configuration Files
4. Create the Log4J Configuration File
5. Change the Mule Distribution of a Project
Appendix C – Enabling Maven Dependency Management for an Eclipse Project
Enabling Maven dependency management for the example project
Appendix D – Mule Standalone Server
1. Mule Standalone Server on OS X
2. Mule Standalone Server Basic Management
2.1. Start and Stop a Mule Server
2.2. Deploy and Undeploy a Mule Application
Mule 2.x Deployment
Mule 3.x Deployment
2.3. Undeploy a Mule Application
Appendix E – Database Access from within Eclipse
1. Data Source Creation
2. Data Access
0 of .
Results for:
No results containing your search query
P. 1
Tutorial Mule - Ivans

Tutorial Mule - Ivans

Ratings: (0)|Views: 15,582|Likes:
Published by Carlos Fran

More info:

Published by: Carlos Fran on Sep 16, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

08/07/2013

pdf

text

original

You're Reading a Free Preview
Pages 8 to 58 are not shown in this preview.
You're Reading a Free Preview
Pages 66 to 137 are not shown in this preview.
You're Reading a Free Preview
Pages 145 to 261 are not shown in this preview.
You're Reading a Free Preview
Pages 269 to 298 are not shown in this preview.
You're Reading a Free Preview
Pages 306 to 355 are not shown in this preview.

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->