You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Henryk Konsek (JIRA)" <ji...@apache.org> on 2015/11/16 09:35:11 UTC

[jira] [Created] (CAMEL-9328) KuraRouter should provide required and option service resolvers

Henryk Konsek created CAMEL-9328:
------------------------------------

             Summary: KuraRouter should provide required and option service resolvers
                 Key: CAMEL-9328
                 URL: https://issues.apache.org/jira/browse/CAMEL-9328
             Project: Camel
          Issue Type: Improvement
            Reporter: Henryk Konsek
            Assignee: Henryk Konsek
             Fix For: 2.17.0


Current {{service(Class)}} method returns NPE for OSGi services not available in Kura. We should provide two methods instead:

- {{service(Class)}}
- {{requiredService(Class)}}

Where the first method can return null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)