You can use the below code to set the user id.

from("xxx").routeId("WXFPF").process(xxx)

BTW, Please make sure MyProcessor doesn't change the routeId.

Willem

On Wed, Nov 16, 2011 at 9:06 AM, xiangqiuzhao <xiangqiuz...@gmail.com>wrote:

> RouteBuilder can't set a ID to mark the difference routes, how to
> distinguish
> the received message from the different servers listening at two ports, and
> i don't know what the difference RouteDefintion with RouteBuilder.
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/why-i-get-the-incorrect-routeId-from-Exchange-tp4993170p4996333.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to