SlideShare a Scribd company logo
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

Codegnitorppt
CodegnitorpptCodegnitorppt
Codegnitorppt
sreedath c g
 
Laravel 5.4
Laravel 5.4 Laravel 5.4
Laravel 5.4
Nisha Patel
 
Laravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routingLaravel 5 Annotations: RESTful API routing
Laravel 5 Annotations: RESTful API routing
Christopher Pecoraro
 
Web Os Hands On
Web Os Hands OnWeb Os Hands On
Web Os Hands On
360|Conferences
 
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 5
Bukhori Aqid
 
Ajax control asp.net
Ajax control asp.netAjax control asp.net
Ajax control asp.net
Sireesh K
 
An Introduction to webOS
An Introduction to webOSAn Introduction to webOS
An Introduction to webOS
Kevin Decker
 
API Development with Laravel
API Development with LaravelAPI Development with Laravel
API Development with Laravel
Michael Peacock
 
Introduction To Asp.Net Ajax
Introduction To Asp.Net AjaxIntroduction To Asp.Net Ajax
Introduction To Asp.Net Ajax
Jeff Blankenburg
 
Automatic documentation with mule
Automatic documentation with mule Automatic documentation with mule
Automatic documentation with mule
Anirban Sen Chowdhary
 
BDD in Java using Cucumber
BDD in Java using CucumberBDD in Java using Cucumber
BDD in Java using Cucumber
slavkurochkin
 
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
 
CAF & Portlet Development Notes
CAF & Portlet Development NotesCAF & Portlet Development Notes
CAF & Portlet Development Notes
Vladimir Ivanchenko
 
Drupal 7 Web Services Crash Course
Drupal 7 Web Services Crash CourseDrupal 7 Web Services Crash Course
Drupal 7 Web Services Crash Course
Noah Lively
 
Cloud66 workshop handouts
Cloud66 workshop handoutsCloud66 workshop handouts
Cloud66 workshop handouts
Cloud 66
 
10 Laravel packages everyone should know
10 Laravel packages everyone should know10 Laravel packages everyone should know
10 Laravel packages everyone should know
Povilas 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 Tutorial
Joe 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 Joomla
Pierre-André Vullioud
 
Mule
MuleMule
Mule
irfan1008
 

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 Presentation
baezcond
 
Brand extension_Mia by Tanishq
Brand extension_Mia by TanishqBrand extension_Mia by Tanishq
Brand extension_Mia by Tanishq
Sameer Mathur
 
Taltirelin 103300-74-9 -api
Taltirelin 103300-74-9 -apiTaltirelin 103300-74-9 -api
Taltirelin 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
AM Publications
 
Ecn30205 course outline august 2015 semester
Ecn30205 course outline   august 2015 semesterEcn30205 course outline   august 2015 semester
Ecn30205 course outline august 2015 semester
chloeesim
 
EMenu Card systems for Restaurants
EMenu Card systems for RestaurantsEMenu Card systems for Restaurants
EMenu Card systems for Restaurants
AM 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 12
Afret 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 System
AM Publications
 
Circular motion
Circular motionCircular motion
Circular motion
IB School
 
s
ss

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 esb
sivachandra mandalapu
 
Dropbox with Mule
Dropbox with MuleDropbox with Mule
Dropbox with Mule
Manav Prasad
 
Integration with Dropbox using Mule ESB
Integration with Dropbox using Mule ESBIntegration with Dropbox using Mule ESB
Integration with Dropbox using Mule ESB
Rupesh 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 dropbox
Son Nguyen
 
Box connector Mule ESB Integration
Box connector Mule ESB IntegrationBox connector Mule ESB Integration
Box connector Mule ESB Integration
Krishnakanth Goud
 
Box connector Mule ESB Integration
Box connector Mule ESB IntegrationBox connector Mule ESB Integration
Box connector Mule ESB Integration
AnilKumar Etagowni
 
HTML5 tutorial: canvas, offfline & sockets
HTML5 tutorial: canvas, offfline & socketsHTML5 tutorial: canvas, offfline & sockets
HTML5 tutorial: canvas, offfline & sockets
Remy Sharp
 
API gateway setup
API gateway setupAPI gateway setup
API gateway setup
sivachandra mandalapu
 
Rest hello world_tutorial
Rest hello world_tutorialRest hello world_tutorial
Rest hello world_tutorial
Aravindharamanan S
 
Tomcat + other things
Tomcat + other thingsTomcat + other things
Tomcat + other things
Aravindharamanan S
 
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
Rutul Shah
 
MuleSoft ESB Message Enricher
MuleSoft ESB Message Enricher MuleSoft ESB Message Enricher
MuleSoft ESB Message Enricher
akashdprajapati
 
WebGUI Developers Workshop
WebGUI Developers WorkshopWebGUI Developers Workshop
WebGUI Developers Workshop
Plain Black Corporation
 
RESTful Web Applications with Apache Sling
RESTful Web Applications with Apache SlingRESTful Web Applications with Apache Sling
RESTful Web Applications with Apache Sling
Bertrand 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 Connectors
rtretola
 
Plone FSR
Plone FSRPlone FSR
Plone FSR
fulv
 
LvivPy - Flask in details
LvivPy - Flask in detailsLvivPy - Flask in details
LvivPy - Flask in details
Max 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 one
Adrian Cole
 
Play!ng with scala
Play!ng with scalaPlay!ng with scala
Play!ng with scala
Siarzh Miadzvedzeu
 

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

Log4j
Log4jLog4j
Hibernate java and_oracle
Hibernate java and_oracleHibernate java and_oracle
Hibernate java and_oracle
Krishnakanth Goud
 
Introduction to Hibernate
Introduction to HibernateIntroduction to Hibernate
Introduction to Hibernate
Krishnakanth Goud
 
Hibernate presentation
Hibernate presentationHibernate presentation
Hibernate presentation
Krishnakanth Goud
 
Persistence hibernate
Persistence hibernatePersistence hibernate
Persistence hibernate
Krishnakanth Goud
 
Mule smtp connector
Mule smtp connectorMule smtp connector
Mule smtp connector
Krishnakanth Goud
 
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
Krishnakanth Goud
 
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
Krishnakanth Goud
 
Web service invocation in mule
Web service invocation in muleWeb service invocation in mule
Web service invocation in mule
Krishnakanth Goud
 
Mule esb :Data Weave
Mule esb :Data WeaveMule esb :Data Weave
Mule esb :Data Weave
Krishnakanth Goud
 
Bluetooth
BluetoothBluetooth

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

Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
JamalHussainArman
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
Rahul
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
Madan Karki
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
MiscAnnoy1
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
KrishnaveniKrishnara1
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
KrishnaveniKrishnara1
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
shahdabdulbaset
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 

Recently uploaded (20)

Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptxML Based Model for NIDS MSc Updated Presentation.v2.pptx
ML Based Model for NIDS MSc Updated Presentation.v2.pptx
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024ACEP Magazine edition 4th launched on 05.06.2024
ACEP Magazine edition 4th launched on 05.06.2024
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Introduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptxIntroduction to AI Safety (public presentation).pptx
Introduction to AI Safety (public presentation).pptx
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt22CYT12-Unit-V-E Waste and its Management.ppt
22CYT12-Unit-V-E Waste and its Management.ppt
 
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.pptUnit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
Unit-III-ELECTROCHEMICAL STORAGE DEVICES.ppt
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 

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>