camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Nonnenmacher <vincent.nonnenmac...@gmail.com>
Subject Re: Route stops if more than one message is sent
Date Wed, 25 Jul 2012 10:36:29 GMT
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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message