There is an JMS message to File example that ships as part of the camel distribution. Download the source ???
Camel can be configured either by using Spring or directly in Java code (which this example does).
We start with creating a CamelContext - which is a container for Components, Routes etc:
There is more than one way of adding a Component to the CamelContext - explicitly - as we do here when we add the JMS Component:
or implicitly - when we set up the routing (as we do here for the FileComponent:
In normal use, an external system would be firing messages or events into directly into Camel through one if its Components or Containers or through o