You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/08/26 11:57:58 UTC
[jira] [Resolved] (CAMEL-7689) Rest DSL - Swagger module should
have SPI plugin to integrate with blueprint or other ways to discover Camel
in the app / JVM
[ https://issues.apache.org/jira/browse/CAMEL-7689?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-7689.
--------------------------------
Resolution: Fixed
> Rest DSL - Swagger module should have SPI plugin to integrate with blueprint or other ways to discover Camel in the app / JVM
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-7689
> URL: https://issues.apache.org/jira/browse/CAMEL-7689
> Project: Camel
> Issue Type: Sub-task
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.14.0
>
>
> Currently the module uses spring. But we should allow to blueprint / cdi / servlet etc to discover the Camel in the WAR / JVM.
> We could try using JMX discovery. But a bit of trick is that swagger has a model processor that scan POJOs and generate a swagger model of those. And if those POJOs are in another classloader, we need to allow swagger to see these classes to scan 'en. Or offer a scanner in camel-core we can use and return the data over JMX. Then we can support any Camel in the JVM and have the swagger module separated from the Camel app.
--
This message was sent by Atlassian JIRA
(v6.2#6252)