concept JMS queue in category camel

appears as: JMS queue, JMS queues
Camel in Action

This is an excerpt from Manning's book Camel in Action.

These examples are real code, and they show how easily you can route files from a folder to a JMS queue. Because there’s a real programming language underneath, you can use the existing tooling support, such as code completion and compiler error detection, as illustrated in figure 1.1.

The next thing you need to do, as you may recall from figure 2.2, is send the orders you downloaded from the FTP server to a JMS queue. This process requires a little more setup, but it’s still easy.

2.2.2. Sending to a JMS queue

Camel provides extensive support for connecting to JMS-enabled providers, and we’ll cover all the details in chapter 7. For now, though, we’re just going to cover enough so that you can complete your first task for Rider Auto Parts. Recall that you need to download orders from an FTP server and send them to a JMS queue.

Figure 3.5. A Camel route using an XSLT component to transform an XML document before it’s sent to a JMS queue