2 Replies Latest reply on Mar 25, 2011 10:08 AM by armsargis_sargis

    How to log/proccess ActiveMQ/JMS messages from all queues

    armsargis_sargis

      Hi in ActiveMQ I've defined queues like: bank.aaa, bank.bbb, .., bank.zzz. Now I want with Apache Camel to log/process messages for all queues.

       

      I tried:

       

      from("activemq:queue:bank.>").processRef("dbLoggerProcessor")

      or

      from("activemq:queue:bank.>").wireTap("dbLogger")

       

      and if I send message to queue, message is processed by beans but not stored in queue for further processing by real consumer. I cannot used to(..) also because I am using  'bank.>' . Please help to find out how can I solve my problem.