You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2014/03/07 13:27:42 UTC

[jira] [Resolved] (AMQ-4905) runtime config - embed spring beans schema to avoid trip to the internet in osgi land

     [ https://issues.apache.org/jira/browse/AMQ-4905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully resolved AMQ-4905.
-----------------------------

    Resolution: Fixed

fix in
https://github.com/apache/activemq/commit/eead6e511083fa1c1a9595f8671a722630afb1e2

> runtime config - embed spring beans schema to avoid trip to the internet in osgi land
> -------------------------------------------------------------------------------------
>
>                 Key: AMQ-4905
>                 URL: https://issues.apache.org/jira/browse/AMQ-4905
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.9.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>              Labels: osgi, runtime-configuration, spring, xds
>             Fix For: 5.10.0
>
>
> to validate the xml at runtime using jaxb, the schema needs to be provided to the jaxbcontext but spring schema resolution through spring.schemas does not work. Simplest approach is to embed the dependent schemas and pull them from the containing jar via getResource
> This avoids a roundtrip to the net at runtime.



--
This message was sent by Atlassian JIRA
(v6.2#6252)