camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: How to initiate a message exchange from a bean
Date Mon, 13 Dec 2010 18:18:26 GMT
On Mon, Dec 13, 2010 at 6:28 PM, klausb <> wrote:
> The bean integration is a nice thing, because it hides the camel middleware
> from the components. Unfortunately I can only use beans in a route, where
> the trigger is defined elsewhere as a camel endpoint. What is the strategy
> to define a route, where a bean initiates a message exchange because it has
> its own trigger? Do I need to write my custom endpoint, which consumes my
> bean? Or is there a different way?
> Key point is, that I don't want to use camel APIs inside my bean for better
> reuse.

See the camel web site about hiding middleware.
Its also covered in chapter 14 in the Camel book.

> FYI, I'm running camel inside the apache karaf osgi container.
> Klaus.
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Twitter: davsclaus
Author of Camel in Action:

View raw message