You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by mabady <me...@gmail.com> on 2015/06/17 21:51:19 UTC
2.15 - Can we configure endpoint using bean property style in
blueprint?
Hi,
Is this supposed to work in blueprint.xml?
<camelContext ...>
<endpoint id="foo" uri="ftp://foo@myserver">
<property name="password" value="secret"/>
<property name="recursive" value="true"/>
<property name="ftpClient.dataTimeout" value="30000"/>
<property name="ftpClient.serverLanguageCode" value="fr"/>
</endpoint>
<route>
<from uri="ref:foo"/>
...
</route>
</camelContext>
--
View this message in context: http://camel.465427.n5.nabble.com/2-15-Can-we-configure-endpoint-using-bean-property-style-in-blueprint-tp5768342.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: 2.15 - Can we configure endpoint using bean property style in blueprint?
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
Yeah there is a test here
https://github.com/apache/camel/blob/master/components/camel-test-blueprint/src/test/resources/org/apache/camel/test/blueprint/EndpointPropertyTest.xml
On Wed, Jun 17, 2015 at 9:51 PM, mabady <me...@gmail.com> wrote:
> Hi,
> Is this supposed to work in blueprint.xml?
>
> <camelContext ...>
> <endpoint id="foo" uri="ftp://foo@myserver">
> <property name="password" value="secret"/>
> <property name="recursive" value="true"/>
> <property name="ftpClient.dataTimeout" value="30000"/>
> <property name="ftpClient.serverLanguageCode" value="fr"/>
> </endpoint>
>
> <route>
> <from uri="ref:foo"/>
> ...
> </route>
> </camelContext>
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/2-15-Can-we-configure-endpoint-using-bean-property-style-in-blueprint-tp5768342.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
hawtio: http://hawt.io/
fabric8: http://fabric8.io/