On Fri, Sep 28, 2012 at 5:19 PM, shurf89 <isaki...@gmail.com> wrote:
> Hi!I can not test my scenario which contain routs which represent in 3
> different Camel context.
> If i comit 2 last camel context - mock work.
> @ContextConfiguration({
>     "/caravan_test.xml",
>     "/beans-lazy_test.xml",
>     "/dbunit.xml",
>     "/com/pb/expsys/camel/camel_routes/cards/route_getdatasource.xml",
> //    "/com/pb/expsys/camel/camel_routes/commons/route_bki.xml"
> //
> "/com/pb/expsys/camel/camel_routes/commons/route_ekb_black_list_info.xml"
> })
>
> MockEndpoint do not work with 2 and more camel context?
>

A MockEndpoint is *per* CamelContext. You cannot share a MockEndpoint
with 2+ CamelContexts.


>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Mock-do-not-work-for-test-2-and-more-Camel-cotexts-tp5720208.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to