You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Lyan Chen <ly...@hotmail.com> on 2010/01/11 13:06:24 UTC

How to change the JDBC store mode to Kaha store mode ?

Hi

I have a small project about activeMQ. 

previously , I was used jdbcPersistenceAdapter for store message. But later,
it being more slower when starting and running. I checked my oracle
database, There was about 10,000 rows data in the activemq_msgs table. That
was not largely ,isn't it ?

now,I want to change the PersistenceAdapter's configration, from
jdbcPersistenceAdapter to kahaPersistenceAdapter. But there's  only one
question is how to keep the message datas which are stored in the oracle
database? Is there a configration could change these datas to Kaha files ?

wish your answers 
Thanks!
-- 
View this message in context: http://old.nabble.com/How-to-change-the-JDBC-store-mode-to-Kaha-store-mode---tp27109454p27109454.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: How to change the JDBC store mode to Kaha store mode ?

Posted by LyanChen <ly...@hotmail.com>.
Thanks rajdavies ! That's a great idea,I'll try it soon.


rajdavies wrote:
> 
> There currently isn't any tools to help you migrate between stores -  
> but something we do intend to do (at some point).
> If you have only queue messages - start a new broker using KahaDB,  
> with a oneway network connection to the old broker, with a static  
> filter for all queues  - and it will drain all the messages from it,  
> and store them in KahaDB
> 


-- 
View this message in context: http://old.nabble.com/How-to-change-the-JDBC-store-mode-to-Kaha-store-mode-and-keep-the-message-data---tp27109454p27120584.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: How to change the JDBC store mode to Kaha store mode ?

Posted by Rob Davies <ra...@gmail.com>.
There currently isn't any tools to help you migrate between stores -  
but something we do intend to do (at some point).
If you have only queue messages - start a new broker using KahaDB,  
with a oneway network connection to the old broker, with a static  
filter for all queues  - and it will drain all the messages from it,  
and store them in KahaDB
On 11 Jan 2010, at 12:06, Lyan Chen wrote:

>
> Hi
>
> I have a small project about activeMQ.
>
> previously , I was used jdbcPersistenceAdapter for store message.  
> But later,
> it being more slower when starting and running. I checked my oracle
> database, There was about 10,000 rows data in the activemq_msgs  
> table. That
> was not largely ,isn't it ?
>
> now,I want to change the PersistenceAdapter's configration, from
> jdbcPersistenceAdapter to kahaPersistenceAdapter. But there's  only  
> one
> question is how to keep the message datas which are stored in the  
> oracle
> database? Is there a configration could change these datas to Kaha  
> files ?
>
> wish your answers
> Thanks!
> -- 
> View this message in context: http://old.nabble.com/How-to-change-the-JDBC-store-mode-to-Kaha-store-mode---tp27109454p27109454.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>

Rob Davies
http://twitter.com/rajdavies
I work here: http://fusesource.com
My Blog: http://rajdavies.blogspot.com/
I'm writing this: http://www.manning.com/snyder/