-
Sub-task
-
Resolution: Done
-
Major
-
EAP_EWP 5.1.2
-
Documentation (Ref Guide, User Guide, etc.)
-
Not Required
-
NEW
I don't know where to get the schema for hornetq files. (And the schema is not visibly available in the JBoss distribution.) I know they are probably someplace in Subversion but it's not really helpful.
I'm running into issues deploying my custom hornetq-queues.xml file:
Deployment "vfs:///Users/elias/jboss-6.0.0.Final/server/default/deploy/test/hornetq-queues.xml" is in error due to the following reason(s): org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'entry'. One of '
{"urn:hornetq":address, "urn:hornetq":filter}' is expected.
My config file looks like:
<configuration xmlns="urn:hornetq"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:hornetq /schema/hornetq-jms.xsd">
<queues>
<queue name="FooQueue">
<durable>true</durable>
<entry name="/queue/FooQueue"/>
</queue>
</queues>
</configuration>
There are no examples for a valid file in the documentation either. It seems that "address" is required but I'm not exactly sure what that means or why it's required. The shipped configuration merely contains:
<queue name="DLQ">
<entry name="/queue/DLQ"/>
</queue>
Also, examples throughout do not seem to match the schema, at least in terms of the order of elements.