You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2009/03/05 10:14:59 UTC
[jira] Created: (CAMEL-1425) Add the properties for camel context
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
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 perperties" 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.
[jira] Resolved: (CAMEL-1425) Add the properties for camel context
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-1425.
---------------------------------
Resolution: Fixed
Fix Version/s: (was: 2.0.0)
2.0-M1
http://svn.apache.org/viewvc?rev=750396&view=rev
> 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-M1
>
>
> 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 perperties" 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.
[jira] Commented: (CAMEL-1425) Add the properties for camel context
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=50452#action_50452 ]
Willem Jiang commented on CAMEL-1425:
-------------------------------------
merge the change into 1.x branch
http://svn.apache.org/viewvc?rev=752763&view=rev
> 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-M1, 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 perperties" 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.
[jira] Updated: (CAMEL-1425) Add the properties for camel context
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (CAMEL-1425) Add the properties for camel context
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang updated CAMEL-1425:
--------------------------------
Description:
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>
was:
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 perperties" value="the value as string"/>
</properties>
...
<camelContext>
Fix Version/s: 1.6.1
> 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-M1, 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.