You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2012/10/29 13:14:12 UTC

[jira] [Created] (CAMEL-5756) OSGi resolvers for component, dataformat and language should check if service object is assignable before casting

Ioannis Canellos created CAMEL-5756:
---------------------------------------

             Summary: OSGi resolvers for component, dataformat and language should check if service object is assignable before casting
                 Key: CAMEL-5756
                 URL: https://issues.apache.org/jira/browse/CAMEL-5756
             Project: Camel
          Issue Type: Bug
          Components: osgi
            Reporter: Ioannis Canellos
            Assignee: Ioannis Canellos
             Fix For: 2.9.5, 2.10.3, 2.11.0


Currently, the OSGi resolvers, get all services for the target component, dataformat and language and then cast the first service object to the type of choice.

This can be problematic if for any reason multiple version of a component is installed inside the container.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CAMEL-5756) OSGi resolvers for component, dataformat and language should check if service object is assignable before casting

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-5756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ioannis Canellos resolved CAMEL-5756.
-------------------------------------

    Resolution: Fixed

committed to trunk and merged to 2.10 and 2.9 branches
                
> OSGi resolvers for component, dataformat and language should check if service object is assignable before casting
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5756
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5756
>             Project: Camel
>          Issue Type: Bug
>          Components: osgi
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: 2.9.5, 2.10.3, 2.11.0
>
>
> Currently, the OSGi resolvers, get all services for the target component, dataformat and language and then cast the first service object to the type of choice.
> This can be problematic if for any reason multiple version of a component is installed inside the container.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira