70 likes | 153 Views
Charleston Java Users Group. Meeting 1 – 01/12/11 Mule ESB Presented by: David Williams. Mule Overview. Advantages. Loose Coupling Location Transparency Route, filter, aggregate and re-sequence messages Transform and exchange data across varying formats and protocols EIP Implementation.
E N D
Charleston Java Users Group Meeting 1 – 01/12/11 Mule ESB Presented by: David Williams
Advantages • Loose Coupling • Location Transparency • Route, filter, aggregate and re-sequence messages • Transform and exchange data across varying formats and protocols • EIP Implementation
Sample Configuration <mule> <global-property name="smtp.host" value="localhost"/> <global-property name="smtp.to" value="john.demic@gmail.com"/> <global-property name="smtp.from" value="mule"/> <global-property name="smtp.port" value="65437"/> <file:connector name="FileConnector" streaming="false"pollingFrequency="300000" autoDelete="false"/> <model name="smtpModel"> <service name="smtpService"> <inbound> <file:inbound-endpoint path="./data/invoice"> <file:file-to-string-transformer/> </file:inbound-endpoint> </inbound> <outbound> <pass-through-router> <smtp:outbound-endpoint host="${smtp.host}" port="${smtp.port}" from="${smtp.from}" subject="Accounting Invoice" to="${smtp.to}"> <email:string-to-email-transformer/> </smtp:outbound-endpoint> </pass-through-router> </outbound> </service> </model></mule>
More Information • http://www.mulesoft.com/downloads/mule-esb.pdf