Article: Application Integration Through Mail Servers
- Share
-
- |
Read later
Reading List

A note to our readers: You asked so we have developed a set of features that allow you to reduce the noise: you can get email and web notifications for topics you are interested in. Learn more about our new features.
In this article, a book excerpt from Open Source ESB in Action, Tijs Rademakers and Jos Dirksen present a way of integrating applications through mail servers when speed and performance are not paramount. The article shows how to use SMTP and POP3 protocols from Mule and ServiceMix to communicate back and forth with Apache James, an open source mail server.
Read: Application Integration Through Mail Servers
Rate this Article
- Editor Review
- Chief Editor Action
Hello stranger!
You need to Register an InfoQ account or Login or login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think
Come on guys. This is stupid. Why would anyone want to go through all this
by
John Wheeler
Re: Come on guys. This is stupid. Why would anyone want to go through all t
by
Andreas Breiter
We use e-mail and SMS to interface with Lufthansa. We only get sporadically messages and they already had it, so there was no need to re-invent the wheel...
Re: Come on guys. This is stupid. Why would anyone want to go through all t
by
Gregor Rosenauer
Or mobile services where users interact with the system via SMS or e-mail.
There are many useful applications for such a scenario. I own the book and can highly recommend it.
Re: Come on guys. This is stupid. Why would anyone want to go through all t
by
Christophe Hamerling
Re: Come on guys. This is stupid. Why would anyone want to go through all t
by
John Wheeler
Message Broker
by
Bob G
Although this example seems a bit naïve, it does provide some good functionalities out-of-the box. Before implementing a full blown JMS solution, we might have to consider the followings:
- Most of JMS brokers do not provide any centralized message auditing out-of-the-box (i.e. saving all message content that went through a queue). It is built-in a Mail server with archiving etc.
-When it comes time to view ,sort, move, copy messages, don’t count on a WebsphereMQ client tools to help you. Using an email server you can leverage the use of a good email client to interact with your messages.
-Everybody knows how to send an email. Sending MQ messages using JMS (without Spring) is not the easiest task.
That said, if you are building an enterprise solution (with time, skills and money), you might consider other approaches.
Cheers
Re: Come on guys. This is stupid. Why would anyone want to go through all t
by
Dan Doyon
my 2 cents
Re: Come on guys. This is stupid. Why would anyone want to go through all t
by
Porter Woodward
How about building a photo posting service? Just email your photo from your cell phone and it gets posted to your online photo album.
One of the nice things that an ESB can do for you is abstract away the protocol details. Your core application for handling the posting of a picture to the album doesn't change... And it then becomes pretty easy to introduce new end-points (email, web forms, sms, ftp, etc) without writing much (if any) new code.
Nitty Gritty of ESB
by
C L