The Artima Developer Community
Sponsored Link

Java Buzz Forum
Camel ActiveMQ topic route with jms selector

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 topic route with jms selector Posted: Feb 21, 2011 3:39 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Andrej Koelewijn.
Original Post: Camel ActiveMQ topic route with jms selector
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 quick example how to create a camel route that creates a route from an ActiveMQ topic. It uses a selector to receive a subset of all messages. import org.apache.camel.builder.RouteBuilder; public class SubscriberRouteBuilder extends RouteBuilder { public String resultEndpoint = "mock:result"; @Override public void configure() throws Exception { from("activemq:topic:STOCKS?clientId=1&durableSubscriptionName=dsn1&selector=SE='NASDAQ'") .to("log:stocks?showAll=true") .to(resultEndpoint); } } To [...]

Read: Camel ActiveMQ topic route with jms selector

Topic: Microsoft Commons Previous Topic   Next Topic Topic: Twits du Jour (January 31)

Sponsored Links



Google
  Web Artima.com   

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