The Artima Developer Community
Sponsored Link

Java Buzz Forum
Camel ActiveMQ route and unit test example

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Andrej Koelewijn

Posts: 594
Nickname: andrejk
Registered: Nov, 2002

Andrej Koelewijn is a Java and Oracle consultant
Camel ActiveMQ route and unit test example Posted: Oct 13, 2010 10:32 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Andrej Koelewijn.
Original Post: Camel ActiveMQ route and unit test example
Feed Title: Andrej Koelewijn
Feed URL: http://feeds.feedburner.com/AndrejKoelewijn
Feed Description: On Oracle, Java and OpenSource
Latest Java Buzz Posts
Latest Java Buzz Posts by Andrej Koelewijn
Latest Posts From Andrej Koelewijn

Advertisement
Here’s a simple example to get started with Apache Camel and ActiveMq. The following Camel route will log all messages it receives in the EVENTS queue: import org.apache.camel.builder.RouteBuilder; public class DispatcherRouteBuilder extends RouteBuilder { @Override public void configure() throws Exception { from("activemq:queue:EVENTS").to("log:Events?showAll=true"); } } The following junit test will start a message broker, start camel [...]

Read: Camel ActiveMQ route and unit test example

Topic: Senate report: US hires Afghan warlords and thugs, military defends hiring locally Previous Topic   Next Topic Topic: Adobe shares soar on report of possible Microsoft bid, Microsoft declines to comment

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use