Send JMS Text Message to ActiveMQ

In this post we are going to send a simple text message to ActiveMQ using JMS. Install ActiveMQ First install ActiveMQ¬†as per my previous post. Start ActiveMQ as per the instructions in the previous Open the web browser and view the queues. There should be no visible queues. Create a Maven Project Create the JMSManager … Continue reading Send JMS Text Message to ActiveMQ

Executing a Jar File from Fitnesse

This post follows on from Creating a Simple Java Test Using Fitnesse Create a Test Page that Uses a Jar File Go back to the main web page in Fitnesse and click on the red ? next to SimpleJarTest This will create a new page replace the contents of that page with the following: This … Continue reading Executing a Jar File from Fitnesse

Creating a Simple Java Test Using Fitnesse

Overview Finesse, is a Wiki Engine that can be integrated with Java Code to run test suites from the wiki page. In brief, you create tables of inputs and expected outputs and a simple click on the Test button on that page can run a suite of tests, invoking Java classes or jars where necessary. … Continue reading Creating a Simple Java Test Using Fitnesse

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 JMSCopier.javaAdd the¬†retrieveFileFromJMS method to the JMSCopier class as follows:  JMSCopier.java Edit JMSCopierTest.java Add the method testRetrieveLocalFilesFromJMSQueue to the JMSCopierTest class as follows: JMSCopierTest.java Note, you will need to … Continue reading Retrieving Local Files from a JMS Queue

Sending Local files to a JMS Queue

In our next example we will send local files to a JMS Queue and then view the Queue using the console. Edit pom.xml First we need to add the dependencies for JMS as follows: pom.xml Create JMSCopier.java Next we want to create the JMSCopier.java code that will use Camel to send our local files to … Continue reading Sending Local files to a JMS Queue