camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-7689) Rest DSL - Swagger module should have SPI plugin to integrate with blueprint or other ways to discover Camel in the app / JVM
Date Tue, 26 Aug 2014 09:57:57 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-7689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14110561#comment-14110561
] 

Claus Ibsen commented on CAMEL-7689:
------------------------------------

As using Swagger in OSGi is a bit tougher we have a spring and servletlistener support now.

OSGi blueprint is tougher

> 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)

Mime
View raw message