[
https://issues.apache.org/jira/browse/CAMEL-7695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-7695.
--------------------------------
Resolution: Fixed
There is a hasService(type) method now
> CamelContext - Allow to check if a service by its type has been added
> ---------------------------------------------------------------------
>
> Key: CAMEL-7695
> URL: https://issues.apache.org/jira/browse/CAMEL-7695
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.14.0
>
>
> Sometimes you just need to know if a service by its time has been added as a
> service to CamelContext. This allows to store a shared service on the
> CamelContext and look it up by its type to get hold of the instance.
--
This message was sent by Atlassian JIRA
(v6.2#6252)