Thanks for the reply.

 My code to start the route is as follows:

  CamelContext cc = new DefaultCamelContext();
  cc.addComponent("activemq",
ActiveMQComponent.activeMQComponent("tcp://localhost:61616")); 
  cc.start();

  cc.addRoutes(new RouteBuilder() {
      public void configure() throws Exception {
            from("activemq:queue:" + queueName + "?selector=sender='" +
mobileNumber + "'").to("activemq:queue:Q4"); 
      }
  });
        
  cc.stop();

  If we use transaction option then performance issue might be occurred.
Is't?


-Vikas 

  

-- 
View this message in context: 
http://camel.465427.n5.nabble.com/JMS-Selector-Inconsitent-tp512311p512610.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to