You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2010/10/31 09:01:00 UTC

[jira] Updated: (CAMEL-3295) camel-blueprint - Dependency Injection seems not working

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

Claus Ibsen updated CAMEL-3295:
-------------------------------

    Affects Version/s: 2.5.0
           Issue Type: Bug  (was: Improvement)
              Summary: camel-blueprint - Dependency Injection seems not working  (was: PostBeanProcessor, typeconverters, bean configuration of things like camel-jms)

> camel-blueprint - Dependency Injection seems not working
> --------------------------------------------------------
>
>                 Key: CAMEL-3295
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-3295
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-blueprint
>    Affects Versions: 2.5.0
>            Reporter: Johan Edstrom
>            Priority: Minor
>             Fix For: Future
>
>
> This is just a placeholder - things like this should work.
> {code}
> <?xml version="1.0" encoding="UTF-8"?>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
>            xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.0.0"
>            xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0"
>            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>            xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0
>             http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd">
>     <camelContext xmlns="http://camel.apache.org/schema/blueprint" id="camelBlueprint">
>         <route>
>             <from uri="jms:queue"/>
>             <to uri="mock:result"/>
>         </route>
>     </camelContext>
>     <bean id="jms" class="org.apache.camel.component.jms.JmsComponent">
>         <property name="connectionFactory" ref="jmsConnectionPool"/>
>     </bean>
>     <reference id="jmsConnectionPool" interface="javax.jms.ConnectionFactory"/>
> </blueprint>
> {code}
> Currently the jmsConnectionPool is not at all passed to the JmsComponent.
> The usage of JmsTemplate as debated on the mailinglists I think is of a (currently) much lesser concern.
> Especially comparing a little to the ProducerCode in the servicemix-jms components.

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