Exercise 3 - JMS routing

JMS has been part of the java standard for years now and is used a lot. That is why it is an integral part of Camel just as File and FTP. This exercise will show how easy it is to get messaging working…

Bonus material

  • In this case both spring-boot and camel make a lot of magic happen.

Bonus Question(s):

  • Can you read the split up books from the Queue and write them back to file with the target/books/<title>.txt as the filename?

Hint(s)

  • jms component
  • maven artifacts met o.a….
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-activemq</artifactId>
</dependency>
<dependency>
    <groupId>org.apache.camel</groupId>
    <artifactId>camel-jms</artifactId>
</dependency>