You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2007/08/16 10:17:22 UTC
[jira] Created: (CAMEL-108) allow the @EndpointInject to not
require any arguments and defaulting the name (reference name) to be the
name of the field or property
allow the @EndpointInject to not require any arguments and defaulting the name (reference name) to be the name of the field or property
---------------------------------------------------------------------------------------------------------------------------------------
Key: CAMEL-108
URL: https://issues.apache.org/activemq/browse/CAMEL-108
Project: Apache Camel
Issue Type: Improvement
Reporter: James Strachan
Assignee: James Strachan
Fix For: 1.2.0
So that
{code}
class Cheese {
@EndpointInject
ProducerTemplate fooEndpoint;
}
{code}
would look up in the registry (such as Spring AppContext) to find "fooEndpoint"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CAMEL-108) allow the @EndpointInject to not
require any arguments and defaulting the name (reference name) to be the
name of the field or property
Posted by "James Strachan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Strachan resolved CAMEL-108.
----------------------------------
Resolution: Fixed
test case added to InjectBeanTest in camel-spring
> allow the @EndpointInject to not require any arguments and defaulting the name (reference name) to be the name of the field or property
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-108
> URL: https://issues.apache.org/activemq/browse/CAMEL-108
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: James Strachan
> Assignee: James Strachan
> Fix For: 1.2.0
>
>
> So that
> {code}
> class Cheese {
> @EndpointInject
> ProducerTemplate fooEndpoint;
> }
> {code}
> would look up in the registry (such as Spring AppContext) to find "fooEndpoint"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CAMEL-108) allow the @EndpointInject to not
require any arguments and defaulting the name (reference name) to be the
name of the field or property
Posted by "James Strachan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39960 ]
James Strachan commented on CAMEL-108:
--------------------------------------
code checked into svn; just requires a test case to confirm it does actually work!
> allow the @EndpointInject to not require any arguments and defaulting the name (reference name) to be the name of the field or property
> ---------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-108
> URL: https://issues.apache.org/activemq/browse/CAMEL-108
> Project: Apache Camel
> Issue Type: Improvement
> Reporter: James Strachan
> Assignee: James Strachan
> Fix For: 1.2.0
>
>
> So that
> {code}
> class Cheese {
> @EndpointInject
> ProducerTemplate fooEndpoint;
> }
> {code}
> would look up in the registry (such as Spring AppContext) to find "fooEndpoint"
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.