SlideShare a Scribd company logo
1 of 7
Dropbox Mule Connector
This tutorial explains about the Dropbox Connector functionality in Mule.
Operations performed in this flow:
Authorize :
1. Get Account Details
2. Create a Folder in Dropbox
3. Unauthorized
Pre-requisites:
1. Anypoint Studio 5.1 with Dropbox plugin
2. Dropbox developer account
3. Jdk 1.7
Create an app in Dropbox developer site
https://www.dropbox.com/developers/. Copy the App Secret and App key
and provide the oauth2 redirect URL. These details are required for
Dropbox connector configuration.
Dropbox Connector Configuration
Dropbox Flow
Source Code
<dropbox:config name="Dropbox" appKey="appkey" appSecret="appsecret" doc:name="Dropbox">
<dropbox:oauth-callback-config domain="localhost" localPort="8080" remotePort="8080" path="dropbox" />
</dropbox:config>
<http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener
Configuration"/>
<flow name="DropboxConnectorFlow">
<http:listener config-ref="HTTP_Listener_Configuration" path="/dropbox" doc:name="HTTP"/>
<dropbox:authorize config-ref="Dropbox" doc:name="Authorize Dropbox"/>
<logger message="Login Succefull #[message]" level="INFO" doc:name="Logger"/>
<dropbox:get-account config-ref="Dropbox" doc:name="get Dropbox Account Details"/>
<json:object-to-json-transformer doc:name="Convert Result Object to JSON"/>
<logger message="#[payload.toString()]" level="INFO" doc:name="Logger"/>
<dropbox:create-folder config-ref="Dropbox" path="MuleFolder" doc:name="Create a folder in Dropbox"/>
<json:object-to-json-transformer doc:name="Conver the Result Object to JSON"/>
<logger message="Created Folder in DropBox : #[payload]" level="INFO" doc:name="Logger"/>
<dropbox:unauthorize config-ref="Dropbox" doc:name="Unauthorize Dropbox"/>
</flow>
Source Code
<dropbox:config name="Dropbox" appKey="appkey" appSecret="appsecret" doc:name="Dropbox">
<dropbox:oauth-callback-config domain="localhost" localPort="8080" remotePort="8080" path="dropbox" />
</dropbox:config>
<http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener
Configuration"/>
<flow name="DropboxConnectorFlow">
<http:listener config-ref="HTTP_Listener_Configuration" path="/dropbox" doc:name="HTTP"/>
<dropbox:authorize config-ref="Dropbox" doc:name="Authorize Dropbox"/>
<logger message="Login Succefull #[message]" level="INFO" doc:name="Logger"/>
<dropbox:get-account config-ref="Dropbox" doc:name="get Dropbox Account Details"/>
<json:object-to-json-transformer doc:name="Convert Result Object to JSON"/>
<logger message="#[payload.toString()]" level="INFO" doc:name="Logger"/>
<dropbox:create-folder config-ref="Dropbox" path="MuleFolder" doc:name="Create a folder in Dropbox"/>
<json:object-to-json-transformer doc:name="Conver the Result Object to JSON"/>
<logger message="Created Folder in DropBox : #[payload]" level="INFO" doc:name="Logger"/>
<dropbox:unauthorize config-ref="Dropbox" doc:name="Unauthorize Dropbox"/>
</flow>

More Related Content

What's hot

Laravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routingLaravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routingChristopher Pecoraro
 
Let's Take Drupal Offline!
Let's Take Drupal Offline!Let's Take Drupal Offline!
Let's Take Drupal Offline!Dick Olsson
 
Getting to know Laravel 5
Getting to know Laravel 5Getting to know Laravel 5
Getting to know Laravel 5Bukhori Aqid
 
Ajax control asp.net
Ajax control asp.netAjax control asp.net
Ajax control asp.netSireesh K
 
An Introduction to webOS
An Introduction to webOSAn Introduction to webOS
An Introduction to webOSKevin Decker
 
API Development with Laravel
API Development with LaravelAPI Development with Laravel
API Development with LaravelMichael Peacock
 
Introduction To Asp.Net Ajax
Introduction To Asp.Net AjaxIntroduction To Asp.Net Ajax
Introduction To Asp.Net AjaxJeff Blankenburg
 
BDD in Java using Cucumber
BDD in Java using CucumberBDD in Java using Cucumber
BDD in Java using Cucumberslavkurochkin
 
Laravel - Website Development in Php Framework.
Laravel - Website Development in Php Framework.Laravel - Website Development in Php Framework.
Laravel - Website Development in Php Framework.SWAAM Tech
 
Drupal 7 Web Services Crash Course
Drupal 7 Web Services Crash CourseDrupal 7 Web Services Crash Course
Drupal 7 Web Services Crash CourseNoah Lively
 
Cloud66 workshop handouts
Cloud66 workshop handoutsCloud66 workshop handouts
Cloud66 workshop handoutsCloud 66
 
10 Laravel packages everyone should know
10 Laravel packages everyone should know10 Laravel packages everyone should know
10 Laravel packages everyone should knowPovilas Korop
 
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 TutorialAdventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 TutorialJoe Ferguson
 
Don't worry be API with Slim framework and Joomla
Don't worry be API with Slim framework and JoomlaDon't worry be API with Slim framework and Joomla
Don't worry be API with Slim framework and JoomlaPierre-André Vullioud
 

What's hot (20)

Codegnitorppt
CodegnitorpptCodegnitorppt
Codegnitorppt
 
Laravel 5.4
Laravel 5.4 Laravel 5.4
Laravel 5.4
 
Laravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routingLaravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routing
 
Web Os Hands On
Web Os Hands OnWeb Os Hands On
Web Os Hands On
 
Let's Take Drupal Offline!
Let's Take Drupal Offline!Let's Take Drupal Offline!
Let's Take Drupal Offline!
 
Getting to know Laravel 5
Getting to know Laravel 5Getting to know Laravel 5
Getting to know Laravel 5
 
Ajax control asp.net
Ajax control asp.netAjax control asp.net
Ajax control asp.net
 
An Introduction to webOS
An Introduction to webOSAn Introduction to webOS
An Introduction to webOS
 
API Development with Laravel
API Development with LaravelAPI Development with Laravel
API Development with Laravel
 
Introduction To Asp.Net Ajax
Introduction To Asp.Net AjaxIntroduction To Asp.Net Ajax
Introduction To Asp.Net Ajax
 
Automatic documentation with mule
Automatic documentation with mule Automatic documentation with mule
Automatic documentation with mule
 
BDD in Java using Cucumber
BDD in Java using CucumberBDD in Java using Cucumber
BDD in Java using Cucumber
 
Laravel - Website Development in Php Framework.
Laravel - Website Development in Php Framework.Laravel - Website Development in Php Framework.
Laravel - Website Development in Php Framework.
 
CAF & Portlet Development Notes
CAF & Portlet Development NotesCAF & Portlet Development Notes
CAF & Portlet Development Notes
 
Drupal 7 Web Services Crash Course
Drupal 7 Web Services Crash CourseDrupal 7 Web Services Crash Course
Drupal 7 Web Services Crash Course
 
Cloud66 workshop handouts
Cloud66 workshop handoutsCloud66 workshop handouts
Cloud66 workshop handouts
 
10 Laravel packages everyone should know
10 Laravel packages everyone should know10 Laravel packages everyone should know
10 Laravel packages everyone should know
 
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 TutorialAdventures in Laravel 5 SunshinePHP 2016 Tutorial
Adventures in Laravel 5 SunshinePHP 2016 Tutorial
 
Don't worry be API with Slim framework and Joomla
Don't worry be API with Slim framework and JoomlaDon't worry be API with Slim framework and Joomla
Don't worry be API with Slim framework and Joomla
 
Mule
MuleMule
Mule
 

Viewers also liked

Es Tiempo Unihealth 2014 Presentation
Es Tiempo Unihealth 2014 PresentationEs Tiempo Unihealth 2014 Presentation
Es Tiempo Unihealth 2014 Presentationbaezcond
 
Brand extension_Mia by Tanishq
Brand extension_Mia by TanishqBrand extension_Mia by Tanishq
Brand extension_Mia by TanishqSameer Mathur
 
Performance Evaluation of LEACH Protocol for Wireless Sensor Network
Performance Evaluation of LEACH Protocol for Wireless Sensor NetworkPerformance Evaluation of LEACH Protocol for Wireless Sensor Network
Performance Evaluation of LEACH Protocol for Wireless Sensor NetworkAM Publications
 
Ecn30205 course outline august 2015 semester
Ecn30205 course outline   august 2015 semesterEcn30205 course outline   august 2015 semester
Ecn30205 course outline august 2015 semesterchloeesim
 
EMenu Card systems for Restaurants
EMenu Card systems for RestaurantsEMenu Card systems for Restaurants
EMenu Card systems for RestaurantsAM Publications
 
10 langkah cek tegangan pondasi tiang menggunakan software safe 12
10 langkah cek tegangan pondasi tiang menggunakan software safe 1210 langkah cek tegangan pondasi tiang menggunakan software safe 12
10 langkah cek tegangan pondasi tiang menggunakan software safe 12Afret Nobel
 
A Study of Motion Detection Method for Smart Home System
A Study of Motion Detection Method for Smart Home SystemA Study of Motion Detection Method for Smart Home System
A Study of Motion Detection Method for Smart Home SystemAM Publications
 
Circular motion
Circular motionCircular motion
Circular motionIB School
 

Viewers also liked (10)

Es Tiempo Unihealth 2014 Presentation
Es Tiempo Unihealth 2014 PresentationEs Tiempo Unihealth 2014 Presentation
Es Tiempo Unihealth 2014 Presentation
 
Brand extension_Mia by Tanishq
Brand extension_Mia by TanishqBrand extension_Mia by Tanishq
Brand extension_Mia by Tanishq
 
Taltirelin 103300-74-9 -api
Taltirelin 103300-74-9 -apiTaltirelin 103300-74-9 -api
Taltirelin 103300-74-9 -api
 
Performance Evaluation of LEACH Protocol for Wireless Sensor Network
Performance Evaluation of LEACH Protocol for Wireless Sensor NetworkPerformance Evaluation of LEACH Protocol for Wireless Sensor Network
Performance Evaluation of LEACH Protocol for Wireless Sensor Network
 
Ecn30205 course outline august 2015 semester
Ecn30205 course outline   august 2015 semesterEcn30205 course outline   august 2015 semester
Ecn30205 course outline august 2015 semester
 
EMenu Card systems for Restaurants
EMenu Card systems for RestaurantsEMenu Card systems for Restaurants
EMenu Card systems for Restaurants
 
10 langkah cek tegangan pondasi tiang menggunakan software safe 12
10 langkah cek tegangan pondasi tiang menggunakan software safe 1210 langkah cek tegangan pondasi tiang menggunakan software safe 12
10 langkah cek tegangan pondasi tiang menggunakan software safe 12
 
A Study of Motion Detection Method for Smart Home System
A Study of Motion Detection Method for Smart Home SystemA Study of Motion Detection Method for Smart Home System
A Study of Motion Detection Method for Smart Home System
 
Circular motion
Circular motionCircular motion
Circular motion
 
s
ss
s
 

Similar to Mule ESB Dropbox connector

Integration with dropbox using mule esb
Integration with dropbox using mule esbIntegration with dropbox using mule esb
Integration with dropbox using mule esbsivachandra mandalapu
 
Integration with Dropbox using Mule ESB
Integration with Dropbox using Mule ESBIntegration with Dropbox using Mule ESB
Integration with Dropbox using Mule ESBRupesh Sinha
 
Plugins on OnDemand with Remote Apps - Atlassian Summit 2012
Plugins on OnDemand with Remote Apps - Atlassian Summit 2012 Plugins on OnDemand with Remote Apps - Atlassian Summit 2012
Plugins on OnDemand with Remote Apps - Atlassian Summit 2012 Atlassian
 
Integration with dropbox
Integration with dropboxIntegration with dropbox
Integration with dropboxSon Nguyen
 
Box connector Mule ESB Integration
Box connector Mule ESB IntegrationBox connector Mule ESB Integration
Box connector Mule ESB IntegrationAnilKumar Etagowni
 
Box connector Mule ESB Integration
Box connector Mule ESB IntegrationBox connector Mule ESB Integration
Box connector Mule ESB IntegrationKrishnakanth Goud
 
HTML5 tutorial: canvas, offfline & sockets
HTML5 tutorial: canvas, offfline & socketsHTML5 tutorial: canvas, offfline & sockets
HTML5 tutorial: canvas, offfline & socketsRemy Sharp
 
Create Home Directories on Storage Using WFA and ServiceNow integration
Create Home Directories on Storage Using WFA and ServiceNow integrationCreate Home Directories on Storage Using WFA and ServiceNow integration
Create Home Directories on Storage Using WFA and ServiceNow integrationRutul Shah
 
MuleSoft ESB Message Enricher
MuleSoft ESB Message Enricher MuleSoft ESB Message Enricher
MuleSoft ESB Message Enricher akashdprajapati
 
RESTful Web Applications with Apache Sling
RESTful Web Applications with Apache SlingRESTful Web Applications with Apache Sling
RESTful Web Applications with Apache SlingBertrand Delacretaz
 
New Flash Builder 4 WSDL and HTTP Connectors
New Flash Builder 4 WSDL and HTTP ConnectorsNew Flash Builder 4 WSDL and HTTP Connectors
New Flash Builder 4 WSDL and HTTP Connectorsrtretola
 
Plone FSR
Plone FSRPlone FSR
Plone FSRfulv
 
LvivPy - Flask in details
LvivPy - Flask in detailsLvivPy - Flask in details
LvivPy - Flask in detailsMax Klymyshyn
 
I got 99 problems, but ReST ain't one
I got 99 problems, but ReST ain't oneI got 99 problems, but ReST ain't one
I got 99 problems, but ReST ain't oneAdrian Cole
 

Similar to Mule ESB Dropbox connector (20)

Integration with dropbox using mule esb
Integration with dropbox using mule esbIntegration with dropbox using mule esb
Integration with dropbox using mule esb
 
Dropbox with Mule
Dropbox with MuleDropbox with Mule
Dropbox with Mule
 
Integration with Dropbox using Mule ESB
Integration with Dropbox using Mule ESBIntegration with Dropbox using Mule ESB
Integration with Dropbox using Mule ESB
 
Plugins on OnDemand with Remote Apps - Atlassian Summit 2012
Plugins on OnDemand with Remote Apps - Atlassian Summit 2012 Plugins on OnDemand with Remote Apps - Atlassian Summit 2012
Plugins on OnDemand with Remote Apps - Atlassian Summit 2012
 
Integration with dropbox
Integration with dropboxIntegration with dropbox
Integration with dropbox
 
Box connector Mule ESB Integration
Box connector Mule ESB IntegrationBox connector Mule ESB Integration
Box connector Mule ESB Integration
 
Box connector Mule ESB Integration
Box connector Mule ESB IntegrationBox connector Mule ESB Integration
Box connector Mule ESB Integration
 
HTML5 tutorial: canvas, offfline & sockets
HTML5 tutorial: canvas, offfline & socketsHTML5 tutorial: canvas, offfline & sockets
HTML5 tutorial: canvas, offfline & sockets
 
API gateway setup
API gateway setupAPI gateway setup
API gateway setup
 
Rest hello world_tutorial
Rest hello world_tutorialRest hello world_tutorial
Rest hello world_tutorial
 
Tomcat + other things
Tomcat + other thingsTomcat + other things
Tomcat + other things
 
Create Home Directories on Storage Using WFA and ServiceNow integration
Create Home Directories on Storage Using WFA and ServiceNow integrationCreate Home Directories on Storage Using WFA and ServiceNow integration
Create Home Directories on Storage Using WFA and ServiceNow integration
 
MuleSoft ESB Message Enricher
MuleSoft ESB Message Enricher MuleSoft ESB Message Enricher
MuleSoft ESB Message Enricher
 
WebGUI Developers Workshop
WebGUI Developers WorkshopWebGUI Developers Workshop
WebGUI Developers Workshop
 
RESTful Web Applications with Apache Sling
RESTful Web Applications with Apache SlingRESTful Web Applications with Apache Sling
RESTful Web Applications with Apache Sling
 
New Flash Builder 4 WSDL and HTTP Connectors
New Flash Builder 4 WSDL and HTTP ConnectorsNew Flash Builder 4 WSDL and HTTP Connectors
New Flash Builder 4 WSDL and HTTP Connectors
 
Plone FSR
Plone FSRPlone FSR
Plone FSR
 
LvivPy - Flask in details
LvivPy - Flask in detailsLvivPy - Flask in details
LvivPy - Flask in details
 
I got 99 problems, but ReST ain't one
I got 99 problems, but ReST ain't oneI got 99 problems, but ReST ain't one
I got 99 problems, but ReST ain't one
 
Play!ng with scala
Play!ng with scalaPlay!ng with scala
Play!ng with scala
 

More from Krishnakanth Goud

More from Krishnakanth Goud (11)

Log4j
Log4jLog4j
Log4j
 
Hibernate java and_oracle
Hibernate java and_oracleHibernate java and_oracle
Hibernate java and_oracle
 
Introduction to Hibernate
Introduction to HibernateIntroduction to Hibernate
Introduction to Hibernate
 
Hibernate presentation
Hibernate presentationHibernate presentation
Hibernate presentation
 
Persistence hibernate
Persistence hibernatePersistence hibernate
Persistence hibernate
 
Mule smtp connector
Mule smtp connectorMule smtp connector
Mule smtp connector
 
Fetch records from mysql using mule esb
Fetch records from mysql using mule esbFetch records from mysql using mule esb
Fetch records from mysql using mule esb
 
Running ms sql stored procedures in mule
Running ms sql stored procedures in muleRunning ms sql stored procedures in mule
Running ms sql stored procedures in mule
 
Web service invocation in mule
Web service invocation in muleWeb service invocation in mule
Web service invocation in mule
 
Mule esb :Data Weave
Mule esb :Data WeaveMule esb :Data Weave
Mule esb :Data Weave
 
Bluetooth
BluetoothBluetooth
Bluetooth
 

Recently uploaded

(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 

Recently uploaded (20)

(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 

Mule ESB Dropbox connector

  • 1. Dropbox Mule Connector This tutorial explains about the Dropbox Connector functionality in Mule. Operations performed in this flow: Authorize : 1. Get Account Details 2. Create a Folder in Dropbox 3. Unauthorized Pre-requisites: 1. Anypoint Studio 5.1 with Dropbox plugin 2. Dropbox developer account 3. Jdk 1.7 Create an app in Dropbox developer site https://www.dropbox.com/developers/. Copy the App Secret and App key and provide the oauth2 redirect URL. These details are required for Dropbox connector configuration.
  • 2.
  • 4.
  • 6. Source Code <dropbox:config name="Dropbox" appKey="appkey" appSecret="appsecret" doc:name="Dropbox"> <dropbox:oauth-callback-config domain="localhost" localPort="8080" remotePort="8080" path="dropbox" /> </dropbox:config> <http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration"/> <flow name="DropboxConnectorFlow"> <http:listener config-ref="HTTP_Listener_Configuration" path="/dropbox" doc:name="HTTP"/> <dropbox:authorize config-ref="Dropbox" doc:name="Authorize Dropbox"/> <logger message="Login Succefull #[message]" level="INFO" doc:name="Logger"/> <dropbox:get-account config-ref="Dropbox" doc:name="get Dropbox Account Details"/> <json:object-to-json-transformer doc:name="Convert Result Object to JSON"/> <logger message="#[payload.toString()]" level="INFO" doc:name="Logger"/> <dropbox:create-folder config-ref="Dropbox" path="MuleFolder" doc:name="Create a folder in Dropbox"/> <json:object-to-json-transformer doc:name="Conver the Result Object to JSON"/> <logger message="Created Folder in DropBox : #[payload]" level="INFO" doc:name="Logger"/> <dropbox:unauthorize config-ref="Dropbox" doc:name="Unauthorize Dropbox"/> </flow>
  • 7. Source Code <dropbox:config name="Dropbox" appKey="appkey" appSecret="appsecret" doc:name="Dropbox"> <dropbox:oauth-callback-config domain="localhost" localPort="8080" remotePort="8080" path="dropbox" /> </dropbox:config> <http:listener-config name="HTTP_Listener_Configuration" host="0.0.0.0" port="8081" doc:name="HTTP Listener Configuration"/> <flow name="DropboxConnectorFlow"> <http:listener config-ref="HTTP_Listener_Configuration" path="/dropbox" doc:name="HTTP"/> <dropbox:authorize config-ref="Dropbox" doc:name="Authorize Dropbox"/> <logger message="Login Succefull #[message]" level="INFO" doc:name="Logger"/> <dropbox:get-account config-ref="Dropbox" doc:name="get Dropbox Account Details"/> <json:object-to-json-transformer doc:name="Convert Result Object to JSON"/> <logger message="#[payload.toString()]" level="INFO" doc:name="Logger"/> <dropbox:create-folder config-ref="Dropbox" path="MuleFolder" doc:name="Create a folder in Dropbox"/> <json:object-to-json-transformer doc:name="Conver the Result Object to JSON"/> <logger message="Created Folder in DropBox : #[payload]" level="INFO" doc:name="Logger"/> <dropbox:unauthorize config-ref="Dropbox" doc:name="Unauthorize Dropbox"/> </flow>