3 Replies Latest reply on Nov 30, 2015 8:41 PM by Tomohisa igarashi

    camel bean to activemq

    Mark Lybarger Apprentice

      i am looking to build a switchyard service that reads messages from activemq and sends the message to another queue.  i'll need to implement a dynamic content based router and as such would like to leverage camel to handle the routing of output. 

       

      to start off, I just want to take the message in and send it out...

       

      
      
      
      
      
      from("switchyard://CamelService").log(
      
      
      
      
      
      
      "Received message for 'CamelService' : ${body}")
      
      
      
      
      
      
      .to("activemq:queue:queue/test.out");
      
      
      
      

       

      help?