title: Camels producer consumer confusion
body: <p>The definition of producer and consumer in <code>Camel in Action</code> book is a bit confusing for me. I've already read two other answers for similar question however I still feel that it's not that.</p>
  
  <blockquote>
    <p><strong>A producer</strong> is the Camel abstraction that refers to an entity capable
    of creating and sending a message to an endpoint. Figure
    1.10 illustrates where the producer fits in with other Camel concepts. When a message needs to be sent to an endpoint, the producer will
    create an exchange and populate it with data compatible with that
    particular endpoint. For example, a <code>FileProducer</code> will write the
    message body to a file. A <code>JmsProducer</code>, on the other hand, will map the
    Camel message to a <code>javax.jms.Message</code> before sending it to a JMS
    destination. This is an important feature in Camel, because it hides
    the complexity of interacting with particular transports.</p>
    
    <p><strong>A consumer</strong> is the service that receives messages produced by a
    producer, wraps them in an exchange, and sends them to be processed.
    Consumers are the source of the exchanges being routed in Camel.
    Looking back at figure 1.10, we can see where the consumer fits in
    with other Camel concepts. To create a new exchange, a consumer will
    use the endpoint that wraps the payload being consumed. A processor is
    then used to initiate the routing of the exchange in Camel using the
    routing engine.</p>
  </blockquote>
  
  <p><a href="https://imgur.com/jPklmMt"><img src="https://i.imgur.com/jPklmMt.png" title="source: imgur.com" /></a></p>
  
  <p>Who's actually creating an exchange ? On which side of typical chanel of communication is producer and consumer ? From text above I can't really say who's responsible for that. It would be great if someone could provide a picture ( the one from book is unclear for me), where exactly is producer and consumer and explain how they work in an easy way. Maybe some example would be also useful.</p>
  
  <p>Ok so maybe it would be better to give an example and someone could tell me how it works.
  Imagine that we want to fetch files from a folder and put them on a JMS queue and from
  there send them for further processing eventually saving on a disk.</p>
  
  <p><a href="https://imgur.com/3Ny6zrU"><img src="https://i.imgur.com/3Ny6zrU.png" title="source: imgur.com" /></a></p>
  
  <p>Where exactly is producer, consumer according to my picture ? I realize what is a component and an endpoint.</p>