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)

Reply via email to