Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Apache Camel
  • Table Of Contents Toc
  • Feedback & Rating feedback
Mastering Apache Camel

Mastering Apache Camel

By : Bilgin Ismet Ibryam, Jean-Baptiste Onofré
3.4 (7)
close
close
Mastering Apache Camel

Mastering Apache Camel

3.4 (7)
By: Bilgin Ismet Ibryam, Jean-Baptiste Onofré

Overview of this book

This book is intended for all Camel users who want to get the best out of Camel, and who want to implement the most efficient integration logic using best practices.
Table of Contents (10 chapters)
close
close
9
Index

Message Construction EIPs


These EIPs are responsible for creating messages in response to other messages.

The Event Message EIP

The Event Message EIP describes how to use messaging to transmit events from one application to another.

Camel supports this EIP by the use of the Message Exchange Pattern in the exchange. When defined as InOnly, it means that we deal with a one way event message.

So, basically, the Event Message EIP means one directional messages.

The first endpoint of the route defines the expected Exchange pattern, but, at any point in the route, you can force the Exchange pattern to InOnly to make it act as an Event Message EIP.

For this, you have to use the inOnly notation:

<route>
   <from uri="direct:start"/>
   <inOnly uri="bean:myBean"/>
</route>

You can also use the setExchangePattern notation:

<route>
   <from uri="direct:start"/>
   <setExchangePattern pattern="InOnly"/>
   <to uri="bean:myBean"/>
</route>

It's also possible...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY