camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-1425) Add the properties for camel context
Date Thu, 12 Mar 2009 07:59:40 GMT

     [ https://issues.apache.org/activemq/browse/CAMEL-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-1425:
-------------------------------

    Fix Version/s:     (was: 2.0-M1)
                   2.0.0

> Add the properties for camel context
> ------------------------------------
>
>                 Key: CAMEL-1425
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1425
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-spring
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.0.0, 1.6.1
>
>
> If we want to configure the some camel internal component such as CachedOutputStream
from camel context,  we can use a map of properties to do this kind of work.
> With Java code
>       Map<String, String> properties = new HashMap<String, String>();
>       properties.put(CachedOutputStream.THRESHOLD, "1000");
>       camelContext..setProperties(properties);
> With Spring configuration
> <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
>     <properties>
>        <property key="the key of properties" value="the value as string"/>
>     </properties>
> ...
> <camelContext>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message