camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drasil <>
Subject RecipientList + Choice no longer work together in Camel 2.2.0?
Date Mon, 22 Mar 2010 09:27:52 GMT


I have the following construct in my custom RouteBuilder:

    .when( condition1 )
      .setFaultBody( ... )
    .when( condition2 )
      .recipientList( ... )
      .setFaultBody( ... );

It worked in Camel versions up to 2.1.0. But when I tried to upgrade to
Camel 2.2.0 I realized that the recipientList() method has its return type
changed from "Type" to "RecipientListDefinition" and that the
above-mentioned code is no longer compilable. I tried to find a solution,
but did not succeed. I even did not find anything about this
backward-incompatible API change in 2.2.0 version release notes. Is there
any way to achieve the indicated behavior in Camel 2.2.0?

Thanks for any advice, Pavel
View this message in context:
Sent from the Camel - Users mailing list archive at

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