[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [jira] [Created] (AMQ-4905) runtime config - embed spring beans schema to avoid trip to the internet
From:       "Gary Tully (JIRA)" <jira () apache ! org>
Date:       2013-11-27 16:03:35
Message-ID: JIRA.12681606.1385568194731.39153.1385568215039 () arcas
[Download RAW message or body]

Gary Tully created AMQ-4905:
-------------------------------

             Summary: 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
             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.1#6144)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic