Hello Alistair! I do not think you found the real issue. But as Vincent already wrote, without more detailed information, we cannot really help. I recommend again you should study http://camel.apache.org/support.html
Best, Christian On Wed, Jul 25, 2012 at 12:51 PM, Alistair Young <[email protected]>wrote: > good idea! I've tracked the missing messages to transactions. I had > ActiveMQConnectionFactory and ActiveMQComponent both defined in > camel.xml. If I only use ActiveMQConnectionFactory with > JmsTransactionManager the routing works perfectly with transactions > enabled. > > I've just run 2 messages through the header checking route and it worked > too. So it seems down to my incomprehension of transactions and why > there were both ActiveMQConnectionFactory and ActiveMQComponent defined. > > thanks for listening though. > > Alistair > > > ------------------- > Alistair Young > Senior Software Engineer > UHI@Sabhal Mòr Ostaig > >>> Vincent Nonnenmacher 25/07/12 11:37 AM >>> > You could use github to post a GIST of your routes DSL and post its URL > here, so you CAN get help. > > > On Wednesday, July 25, 2012, Alistair Young wrote: > > > I've removed all routes and now I'm getting random messages > disappearing > > from the simplest possible route: > > > > excuse the lack of xml format - the email client is the worst in the > > world and won't let me send plain text. > > > > route > > from uri="activemq:topic:topicA" > > to uri="activemq:topic:topicB" > > route > > > > send 10 message, between 3 and 4 disappear and never reach topicB. No > > errors logged. > > > > Alistair > > > > > > ------------------- > > Alistair Young > > Senior Software Engineer > > UHI@Sabhal Mòr Ostaig > > >>> "Alistair Young" 25/07/12 9:52 AM >>> > > I have a route that adds a header to an incoming message and if the > > header already exists and is less than a certain value the message is > > delayed by 1s and sent back to the original topic. The flow is: > > > > route1 : producer -> topicA -> consumer > > route2: consumer -> topicB -> check header -> delay 1s -> topicA > > > > it works fine if I send one message in route1. If I send 2 messages in > > route1, route2 stops after the check header stage of the first message > > and never sends to topicA. > > > > Is there a config setting I'm missing? I've looked at producer flow > > control but can't get the route to take more than one message. Non > > transacted routes. I have an errorHandlerRef but it's never called. > The > > route just stops. > > > > thanks, > > > > Alistair > > > > > > > > ------------------- > > Alistair Young > > Senior Software Engineer > > UHI@Sabhal Mòr Ostaig > > > > > >
