camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quinn Stevenson <>
Subject Re: how to unit test a Java Route which uses a property-placeholder
Date Wed, 24 May 2017 14:35:04 GMT
I use CamelBlueprintTestSupport and the setConfigAdminInitialConfiguration method.

> On May 16, 2017, at 9:23 AM, Mark <> wrote:
> I have a class that extends RouteBuilder and loaded from a blueprint file
> using the <package> tag.  In my blueprint file I also use
> property-placeholder to set some values for the routes.  I would like to
> unit test my class but I cannot figure out how to inject the properties.
> Is there a way to do this that I'm not seeing?
> Thank you.

View raw message