Claus Ibsen created CAMEL-7689:
----------------------------------
Summary: 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
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)