johan, I tell you:
In the ActiveMQ applicationContext.xml file I configure the following: <route> <from uri="activemq:queue:COLA_PRUEBA_TEST"/> <to uri="exec:C:/LogsTestTrigger/PruebaTrigger_20100826/ActiveMQ_ReciboAutomatico.exe"/> </route> So that when a message arrives in the queue "COLA_PRUEBA_TEST" run the following program: "ActiveMQ_ReciboAutomatico.exe" The program does the following: Read the same queue, the "COLA_PRUEBA_TEST" and record the content of the message in a database through a webservice that is posted on a server. The problem is: When you run the program no longer exists message in the queue. Therefore, no records in my database. So I can do so that the message can be read by the program? Note: with this configuration will work properly: <route> <from uri="activemq:queue:COLA_PRUEBA"/> <multicast> <to uri="activemq:queue:COLA_PRUEBA_TEST"/> <to uri="exec:C:/LogsTestTrigger/PruebaTrigger_20100826/ActiveMQ_ReciboAutomatico.exe"/> </multicast> </route> ----- Todos somos muy ignorantes. Lo que ocurre es que no todos ignoramos las mismas cosas. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-Exec-tp2267073p2740463.html Sent from the Camel Development mailing list archive at Nabble.com.