Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
WSO2 Developers' Guide

You're reading from   WSO2 Developers' Guide SOA and data services with WSO2 Enterprise Integrator

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher Packt
ISBN-13 9781787288317
Length 368 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Authors (2):
Arrow left icon
 Garrido Garrido
Author Profile Icon Garrido
Garrido
 Prieto Estrada Prieto Estrada
Author Profile Icon Prieto Estrada
Prieto Estrada
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Title Page
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface
1. Getting Started with SOA and WSO2 FREE CHAPTER 2. Developing Integration Projects with WSO2EI Tooling 3. Building Web Services 4. Building Data Services 5. Transforming the Content of the Payload 6. Conditional Route 7. Quality of Service 8. Tasks Scheduling 9. WSO2 Enterprise Integration Logging 10. WSO2 Enterprise Integration Testing 11. Integrating with VFS 12. Integrating with JMS - WSO2 EI Message Brokering 13. Introduction to Ballerina

Configuring the server


The VFS implementation that uses the Enterprise Integrator server is based on the Apache Commons VFS implementation deployed in the commons-vfs2_2.0.0.wso2v15.jar library that contains the required resources to work with files.

The use of the VFS transport is disabled in the server by default, so we need to enable it in the <EI_HOME>/conf/axis2/axis2.xml file and restart the server in order to apply the changes. We have two different implementations that we can enable: one for reading the files and the other for writing the files:

  • <transportReceiver name="vfs" class="org.apache.synapse.transport.vfs.VFSTransportListener"/>
  • <transportSender name="vfs" class="org.apache.synapse.transport.vfs.VFSTransportSender"/>

Large files

Sometimes when we work with large files with the VFS transport, we can get out of memory errors. To avoid these errors, we need to configure the EI server with the following properties.

The first file that we need to set up is <EI_HOME...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images