Good guide. It contains the information I missed and connects the dots. I saw
it before but thourght it wasn't relevant due to the focus on webservice
integration. 

Med venlig hilsen,
Drone42


Claus Ibsen-2 wrote:
> 
> Hi
> 
> You can read the tutorial
> http://activemq.apache.org/camel/tutorial-example-reportincident.html
> 
> Its divided into parts. It starts from scratch and explains quite a
> deal how the internals work in Camel as you create the stuff by hand
> for starters and gently introduces smarter ways to do it. So you could
> start from there and then I am sure you have a better understanding of
> Camel internals. Notice this tutorial is only about Camel and not
> ServiceMix.
> 
> It's work in progress and I will add new parts when I have time and
> the energy to write. Feel free to comment and review.
> 
> /Claus Ibsen
> Apache Camel Committer
> Blog: http://davsclaus.blogspot.com/
> 
> 
> 
> On Fri, Nov 21, 2008 at 12:30 PM, Drone42 <[EMAIL PROTECTED]>
> wrote:
>>
>> I (still!) have problems understanding what I need to do when creating a
>> Camel route. My problem is that I dont understand what happens 'under the
>> hood' of Camel.
>>
>> When I follow the tutorials they typically create a SU using the maven
>> archetypes, then change the MyRouteBuilder to configure a route in Java
>> DSL.
>>
>> But where are the components used in the route created? I would expect to
>> see a CamelContext being created somewhere and addComponent being called
>> for
>> each component to be used in the route. Does this happen automatically
>> under
>> the hood of Camel depending on which components I use in my route defined
>> in
>> MyRouteBuilder?
>>
>> If yes, why does some examples (such as the loanBroker example) create
>> the
>> context and components explicitly?
>>
>> If no, where do I add the creation of context and components? In a main
>> function of the MyRouteBuilder (don't expect this to be the case because
>> then the main function would likely have been autogenerated when using
>> the
>> archetype)?
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Where-are-the-Camel-component-instance-created-when-using-MyRouteBuilder--tp20619487s22882p20619487.html
>> Sent from the Camel - Users mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Where-are-the-Camel-component-instance-created-when-using-MyRouteBuilder--tp20619487s22882p20620748.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to