activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: journaledJDBC no longer exists?
Date Tue, 10 Apr 2007 06:47:41 GMT
No, journaledJDBC is still there. If you are having issues configuring
ActiveMQ inside a regular Spring.xml you could try using the factory
bean instead...

http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html

On 4/9/07, Andy DePue <andy@marathon-man.com> wrote:
> We are looking into upgrading from AMQ 3.1 to 4.1.1 (embedded in a
> Spring based app).  I attempted to get things going using the spring XML
> below, based on examples given on the AMQ web site.  However, the XSD
> does not define a "journaledJDBC" element, and any attempt to use it
> results in a validation error at runtime.  Has this been removed or
> replaced?  If so, what should one use as an alternative to get identical
> behavior?
>
> Here is XML I attempted:
>
> <beans
>     xmlns="http://www.springframework.org/schema/beans"
>     xmlns:amq="http://activemq.org/config/1.0"
>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>     xsi:schemaLocation="http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>       http://activemq.org/config/1.0
> http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd">
>
>   <amq:broker id="activemq.broker" useJmx="true" persistent="true">
>     <amq:persistenceAdapter>
>       <amq:journaledJDBC journalLogFiles="5"
> dataDirectory="/var/amq/journal" dataSource="#derby-ds"/>
>     </amq:persistenceAdapter>
>     <amq:transportConnectors>
>       <amq:transportConnector
> uri="tcp://localhost:${activemq.broker.port}"/>
>     </amq:transportConnectors>
>     ...
>   </amq:broker>
>
> ...
>
>
>
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message