integration with mule

14
Integration with Integration with Mule Mule Oklahoma City Java Users Group Oklahoma City Java Users Group March 2013 March 2013 Ryan Hoegg Ryan Hoegg Confluex Confluex

Upload: ryan-hoegg

Post on 16-Jan-2017

212 views

Category:

Software


0 download

TRANSCRIPT

Page 1: Integration with Mule

Integration with MuleIntegration with MuleOklahoma City Java Users GroupOklahoma City Java Users GroupMarch 2013March 2013 Ryan HoeggRyan Hoegg

ConfluexConfluex

Page 2: Integration with Mule

in·te·gra·tionin·te·gra·tion\ˌin-tə-ˈgrā-shən\\ˌin-tə-ˈgrā-shən\

““...the task of making separate applications ...the task of making separate applications work together to produce a unified set of work together to produce a unified set of

functionality”functionality”http://www.eaipatterns.com/IntegrationStylesIntro.html

Page 3: Integration with Mule

How to do it:How to do it:

Exchange filesExchange files

Page 4: Integration with Mule

How to do it:How to do it:

Share a databaseShare a database

Page 5: Integration with Mule

How to do it:How to do it:

Call programs remotelyCall programs remotely

Page 6: Integration with Mule

How to do it:How to do it:

Send messagesSend messages

Page 7: Integration with Mule

mes·sagemes·sage\ˈme-sij\\ˈme-sij\

““a bounded package of information that a bounded package of information that (can be/has been/is) in the process of being (can be/has been/is) in the process of being

delivered from a sender to a recipient”delivered from a sender to a recipient”http://c2.com/cgi/wiki?MessageDefinition

Page 8: Integration with Mule

org.mule.api.org.mule.api.MuleMessageMuleMessagePayload: contents, or body of the Payload: contents, or body of the messagemessage

Properties: key/value pairs, message Properties: key/value pairs, message metadatametadata

no, this slide doesn’t mention attachmentsno, this slide doesn’t mention attachments

Page 9: Integration with Mule

flowflow\ˈflō\\ˈflō\

The primary unit of a mule applicationThe primary unit of a mule application

Page 10: Integration with Mule

Flow Building BlocksFlow Building BlocksMessage SourceMessage Source

Inbound EndpointsInbound EndpointsPollsPollsCustomCustom

Page 11: Integration with Mule

Flow Building BlocksFlow Building BlocksMessage ProcessorsMessage Processors

TransformerTransformerFilterFilterRouterRouterComponentComponentCustomCustom

Page 12: Integration with Mule

TransportTransportProvides connectors that allow Mule to send Provides connectors that allow Mule to send and receive messages using a particular and receive messages using a particular technologytechnology

•HTTPHTTP•FileFile•FTPFTP•JMSJMS

•SMTPSMTP•IMAPIMAP•VMVM•TCPTCP•JDBCJDBC•RMIRMI

•XMPPXMPP•SAPSAP

ExamplesExamples

Page 13: Integration with Mule

Cloud ConnectorCloud ConnectorBundle of mule extensions for specific SaaS Bundle of mule extensions for specific SaaS •TwitterTwitter

•Amazon S3Amazon S3•FacebookFacebook

•Google ContactsGoogle Contacts•Apple PushApple Push

•JIRAJIRA•MS DynamicsMS Dynamics

•PaypalPaypal•TwilioTwilio

•LinkedInLinkedIn•AlfrescoAlfresco

•CyberSourceCyberSource

ExamplesExamples

Page 14: Integration with Mule

Example code: Example code: http://www.confluex.com/blog/mule-example-imperial-manufacturing/http://www.confluex.com/blog/mule-example-imperial-manufacturing/

Who is this guy talking?Who is this guy talking?@rhoegg@rhoegg+Ryan Hoegg+Ryan [email protected]@[email protected]@confluex.com