ActiveMQ configuration via XML in Geronimo 2.0.2 Documentation
--------------------------------------------------------------
Key: AMQ-1554
URL: https://issues.apache.org/activemq/browse/AMQ-1554
Project: ActiveMQ
Issue Type: Task
Components: Broker
Affects Versions: 4.1.1
Environment: Windows
Reporter: Alan Williams
I am trying to configure the redeliveryPolicy in active MQ in Geronimo 2.0.2
but cannot find suitable documentation
It appears that to allow and XML config file one needs to modify the active MQ
plan.xml that builds the .car file and then rebuild the .car file.
I modified the plan.xml for activemq-broker as below.
------------------------
<module
xmlns="http://geronimo.apache.org/xml/ns/deployment-${geronimoSchemaVersion}">
<gbean name="ActiveMQManager"
class="org.apache.geronimo.activemq.management.ActiveMQManagerGBean"/>
<gbean name="ActiveMQ"
class="org.apache.geronimo.activemq.BrokerServiceGBeanImpl">
<!-- Instead of using the limited configuration syntax in this file,
you can set the brokerUri property to externally specify the
configuration for the broker.
-->
<attribute name="brokerUri">xbean:file:activemq.xml</attribute>
------------------------
Rebuilt geronimo and then placed the new .car in the geronimo/repository
e.g.
C:\Program
Files\geronimo\geronimo-tomcat6-jee5-2.0.2\repository\org\apache\geronimo\configs\activemq-broker\2.0.2
Then I restart geronimo but it doesn't seem to find my activemq.xml file which
I have placed in
C:\Program Files\geronimo\geronimo-tomcat6-jee5-2.0.2
Geronimo starts up fine with or without my activemq.xml file with no mention in
the log that it was looking for it or not finding it.
Do you have any suggestions/documentation as to how to make this work?
Regards Alan Williams
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.