20,39 €
There are many ways to handle data exchange between applications and systems. Apache Camel is a lightweight integration framework that trades in complexity to focus on simplicity, elegance, and flexibility instead. This book teaches you to handle data exchange using the messaging functions of the Apache Camel framework.
Instant Apache Camel Messaging System is a practical, hands-on guide that provides you with step-by-step instructions which will help you to take advantage of the Apache Camel integration framework using Maven, the Spring Framework, and the TDD approach.
Instant Apache Camel Messaging System introduces you to Apache Camel and provides easy-to-follow instructions on how to set up a Maven-based project and how to use unit tests and mocks to develop your application in a “test first, code later” manner. This book will help you take advantage of modern Java development infrastructures including the Spring Framework, Java DSL, Spring DSL, and Apache Camel to enhance your application.
If you are looking at ways to connect various systems and applications and wondering how to configure data flow in a simple and elegant manner, then Apache Camel is for you, and this book will show you where to begin.
Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:
Seitenzahl: 71
Veröffentlichungsjahr: 2013
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: September 2013
Production Reference: 1240913
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78216-534-7
www.packtpub.com
Author
Evgeniy Sharapov
Reviewer
Michal Pasinski
Acquisition Editor
Rubal Kaur
Commissioning Editor
Neil Alexander
Technical Editors
Ruchita Bhansali
Sonali S. Vernekar
Copy Editors
Sayanee Mukherjee
Tanvi Gaitonde
Kirti Pai
Project Coordinator
Michelle Quadros
Proofreader
Ting Baker
Graphics
Yuvraj Mannari
Production Coordinator
Pooja Chiplunkar
Cover Work
Pooja Chiplunkar
Cover Image
Ronak Dhruv
Evgeniy Sharapov has been working in the software development field for over 10 years. At the beginning of his career, he wrote software in C and C++ for signals and data processing; he later picked up Java, Python, Ruby, Clojure, and Scala, gradually moving up on the ladder of abstraction levels. For the last few years he has been developing enterprise level applications on Java platform using all sorts of tools and frameworks, such as Spring, Hibernate, iBatis, Drools, JBoss, Webshere, Maven, and Ant, while maintaining interest in fringe software development using Ruby on Rails, TorqueBox, Clojure, and Scala.
I would like to thank my wonderful wife for being supportive, understanding, and patient, and for letting me work on weekends instead of spending time together at the beach.
Michal Pasinski is an experienced software developer with great passion for code quality. He has worked mainly with Java technologies but is enthusiastic about other languages, such as JavaScript, Ruby, and Scala.
He believes that being a professional means writing clean code and taking full responsibility for one’s own work. Above all, he also believes that any language, regardless of whether it is a spoken or a programming language, is all about communication between people.
You might want to visit www.packtpub.com for support files and downloads related to your book.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.packtpub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.
At www.packtpub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
Do you need instant solutions to your IT questions? PacktLib is Packt’s online digital book library. Here, you can access, read and search across Packt’s entire library of books.
If you have an account with Packt at www.packtpub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.
Welcome to the Instant Apache Camel Messaging System. This book has been specially created to provide you with all the information that you need to get started using Apache Camel in your Java project. You will learn the basics of Apache Camel, how to add it to your Java project and set up tests for your Camel-based applications, how to use it with the Spring Framework, and how to transform and exchange data between systems.
This document contains the following sections:
So what is Camel? explains what Apache Camel actually is, what you can do with it, and why it would work for your project.
Installation explains how to download and start using Apache Camel in your Java project, either using Maven or by managing dependencies manually.
Quick start – creating a Camel application explains how to create a simple application that uses Apache Camel or add Apache Camel to an already existing application.
Top 6 features you need to know about explains how to set up tests for your application, use the Spring Framework and utilize various Apache Camel modules. By the end of this section, you will be able to route data using Java DSL and Spring DSL, and perform data transformation using converters and templates.
People and places you should get to know provides you with many useful links to the project page and forums, as well as a number of helpful articles, tutorials, and blogs of the Camel core developers.
Apache Camel is an open source integration Java framework that provides a routing and mediation engine API based on its configuration and number of components, which allows a developer to quickly connect various systems consuming or producing data. Apache Camel helps to develop very complex applications by providing re-usable solutions or patterns for solving problems of application integration using message-oriented middleware. These patterns are also called Enterprise Integration Patterns and we briefly describe what they are later in the book.
First, Apache Camel is open source; this means that anyone can try it and see if it meets their needs. For the project manager, this means that there are probably a number of people who know how to work with this framework, so finding a solution or a developer should be easy. For a developer, it means easy access to the source code and the ability to fix things that don't work or get things fixed by someone else who finds the bug first and submits a patch.
Second, Apache Camel, at its core, is comparatively smaller in size than its counterpart and, hence, can be easily explored by going through the source code. For instance, one can easily browse through the existing components just to figure out how to make one's own component.
Third, Apache Camel has a very modular structure. Its core is small, but it comes with a lot of components that range from those working with e-mails to the ones that work as gates to the queues on AS/400 systems. Modularity also allows you to make your own components and weave them effortlessly into the existing infrastructure.
Enterprise Integration Patterns or EIP are reusable solutions for the organization of communication between applications. At the end of the book, we will provide information about the book that goes by the same title, authored by Gregor Hohpe and Bobby Woolf as well as the website and a community around it.
