[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    Re: why there is not support amqPersistenceAdapter in ActiveMQ 5.9 anymore ?
From:       Timothy Bish <tabish121 () gmail ! com>
Date:       2014-04-29 16:35:44
Message-ID: 535FD4E0.5070404 () gmail ! com
[Download RAW message or body]

On 04/29/2014 11:10 AM, wuzhaoxue wrote:
> Hi  all
>
>   
>
> Who know why there is not support amqPersistenceAdapter in ActiveMQ 5.9
> anymore ?
>
>   
>
> I configure the AMQ DB in ActiveMQ 5.9 , got the following error:
>
>   
>
> ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
> 89 in XML document from class path resource [activemq.xml] is invalid;
> nested exception is org.xml.sax.SAXParseException; lineNumber: 89;
> columnNumber: 92; cvc-complex-type.2.4.a: Invalid content was found starting
> with element 'amqPersistenceAdapter'. One of
> '{"http://activemq.apache.org/schema/core":jdbcPersistenceAdapter,
> "http://activemq.apache.org/schema/core":journalPersistenceAdapter,
> "http://activemq.apache.org/schema/core":kahaDB,
> "http://activemq.apache.org/schema/core":levelDB,
> "http://activemq.apache.org/schema/core":mKahaDB,
> "http://activemq.apache.org/schema/core":memoryPersistenceAdapter,
> "http://activemq.apache.org/schema/core":replicatedLevelDB,
> WC[##other:"http://activemq.apache.org/schema/core"]}' is expected.
>
>   
>
> >From the following XSD file, I found that there is no any  description about
> amqPersistenceAdapter in activemq-core-5.9.0.xsd.
>
> http://activemq.apache.org/schema/core/activemq-core-5.9.0.xsd
>
>   
>
> Who know why delete the support of the amqPersistenceAdapter?
>
> Is there no support anymore in the following version ?
>
>
The AmqPersistenceAdapter was deprecated in v5.8.0 and removed in 
v5.9.0.  Instead you should use the KahaDB store or the newest LevelDB 
store.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic