camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: How to pass config file to CamelBlueprintTestSupport
Date Mon, 20 Jan 2014 15:13:24 GMT
Hi

Yeah I think this test case can help
https://github.com/apache/camel/blob/master/components/camel-test-blueprint/src/test/java/org/apache/camel/test/blueprint/ConfigAdminLoadConfigurationFileTest.java

See the loadConfigAdminConfigurationFile method. Also some details in
the javadoc for this method.

And a bit details here
http://camel.apache.org/blueprint-testing.html

On Mon, Jan 20, 2014 at 3:55 PM, nono <yan.wang@db-is.com> wrote:
>
> My blueprint looks like below, which refers mybundleconf.cfg resides in
> <FUSE-ESB>/etc
>
> The question is how to pass this mybundleconf.cfg to
> CamelBlueprintTestSupport  ?
>
>     <cm:property-placeholder id="props" persistent-id="mybundleconf">
>         <cm:default-properties>
>             <cm:property name="xls.charset" value="8859_1"/>
>         </cm:default-properties>
>     </cm:property-placeholder>
>
> Any hints are more than welcome!
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-pass-config-file-to-CamelBlueprintTestSupport-tp5746252.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Make your Camel applications look hawt, try: http://hawt.io

Mime
View raw message