[
https://issues.apache.org/jira/browse/CAMEL-9328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henryk Konsek updated CAMEL-9328:
---------------------------------
Summary: KuraRouter should provide required and optional service resolvers
(was: KuraRouter should provide required and option service resolvers)
> KuraRouter should provide required and optional service resolvers
> -----------------------------------------------------------------
>
> Key: CAMEL-9328
> URL: https://issues.apache.org/jira/browse/CAMEL-9328
> Project: Camel
> Issue Type: Improvement
> Affects Versions: 2.16.0
> 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)