You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Andreas Kuhtz (JIRA)" <ji...@apache.org> on 2008/09/10 16:30:52 UTC
[jira] Commented: (AMQ-1794) Fix activemq.xsd to allow
configuration of more than one element in the broker
[ https://issues.apache.org/activemq/browse/AMQ-1794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45598#action_45598 ]
Andreas Kuhtz commented on AMQ-1794:
------------------------------------
Hi Gary,
You're right. I moved transportConnectors to the end and it works as designed!
btw: I don't know, I checked with XML Spy and adding unbounded validated it .... so I thought this was the solution.
> Fix activemq.xsd to allow configuration of more than one element in the broker
> ------------------------------------------------------------------------------
>
> Key: AMQ-1794
> URL: https://issues.apache.org/activemq/browse/AMQ-1794
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.1.0
> Environment: JDK6, Spring, WinXP
> Reporter: Andreas Kuhtz
> Assignee: Gary Tully
> Attachments: amq-1794.patch
>
>
> The current activemq.xsd does not allow to configure more than one subelement, e.g. the transportConnnectors and the persistenceAdapter. Therefore the following correct configuration is currently not validated.
> {code:xml}
> <amq:broker brokerName="myBroker" persistent="true"
> useShutdownHook="false" deleteAllMessagesOnStartup="true" useJmx="true"
> populateJMSXUserID="true" >
> <amq:transportConnectors>
> <amq:transportConnector uri="${brokerUri}" />
> </amq:transportConnectors>
> <amq:persistenceAdapter>
> <amq:kahaPersistenceAdapter directory="activemq-data" maxDataFileLength="33554432"/>
> </amq:persistenceAdapter>
> <amq:plugins>
> <!-- lets enable detailed logging in the broker -->
> <amq:loggingBrokerPlugin/>
> </amq:plugins>
> </amq:broker>
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.