You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by sabre1041 <gi...@git.apache.org> on 2015/01/02 04:29:22 UTC

[GitHub] camel pull request: CAMEL-8185: Changed parameter of scr reference...

GitHub user sabre1041 opened a pull request:

    https://github.com/apache/camel/pull/364

    CAMEL-8185: Changed parameter of scr reference event methods

    Modified the default bind/unbind scr reference method parameter from a ComponentResolver to a ServiceReference to avoid the possibility of an argument type mismatch exception. This can occur if multiple versions of Camel are installed (such as JBoss Fuse 6.1) and have registered their own versions of services within the OSGi ServiceRegistry. 
    
    Since these methods do not utilize the ComponentResolver themselves, moving to a ServiceReference does not change the functionality of the component and the end user can define bind/unbind methods of their own.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sabre1041/camel CAMEL-8185

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/364.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #364
    
----
commit 1615d666854403e42d283f966bbeb767977ce7a7
Author: Andrew Block <an...@gmail.com>
Date:   2015-01-02T02:29:59Z

    CAMEL-8185: Changed parameter of scr reference event methods from service interface to service reference to handle multiple service versions

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] camel pull request: CAMEL-8185: Changed parameter of scr reference...

Posted by sabre1041 <gi...@git.apache.org>.
Github user sabre1041 closed the pull request at:

    https://github.com/apache/camel/pull/364


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---