camel examples

Retrieving Local Files from a JMS Queue

In this example, we will retrieve the messages we put on the message queue in post Sending Local Files to a JMS Queue and stored them locally. Edit Add the retrieveFileFromJMS method to the JMSCopier class as follows: Edit Add the method testRetrieveLocalFilesFromJMSQueue to the JMSCopierTest class as follows: Note, you will …

Retrieving Local Files from a JMS Queue Read More »

Copying Files using Camel

This post continues on from Copying Files Using Java Edit Edit the file to add a new copyFile method, giving the following code Edit Edit the code to add a second Test Case as follows: Remember to change your inputPath and outputPath to match your own filesystem. Run the …

Copying Files using Camel Read More »