camel-users mailing list archives

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

Hello,

I have the following construct in my custom RouteBuilder:

from("foo")
  .choice()
    .when( condition1 )
      .setFaultBody( ... )
    .when( condition2 )
      .recipientList( ... )
    .otherwise()
      .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: http://old.nabble.com/RecipientList-%2B-Choice-no-longer-work-together-in-Camel-2.2.0--tp27983922p27983922.html
Sent from the Camel - Users mailing list archive at Nabble.com.

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