I am new to ActiveMQ and JMS.

I need to use bean injection and configure ActiveMQ Broker .
The exiting configuration is working but it does not have persistence
mechanism set-up.


Can some please guide me , how to set the configuration parameters to have
the messages persisted in a journal.

I am using spring2.5 , ACTIVEMQ4.1 . 
the current configuration for broker is as follows:
<bean id="broker" class="org.apache.activemq.broker.BrokerService"
init-method="start" destroy-method="stop">

<property name="persistent" value="false"/>

<property name="useJmx" value="false"/>

<property name="deleteAllMessagesOnStartup" value="true"/>

<property name="useShutdownHook" value="true"/>

<property name="transportConnectorURIs">

<list>

<value>tcp://${jms.hostName}:${jms.portNumber}</value>

</list>

</property>

</bean> 

-- 
View this message in context: 
http://www.nabble.com/How-to-Configure-ActiveMQ-With-Spring----tp22292510p22292510.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to