On 6/12/07, Arif Mohd <[EMAIL PROTECTED]> wrote:
Hi bsnyder,
My requirement is as follows
- Bulk messages of size approximately 1MB will be stored in
durable topic.
- clients will read this messages by using message selectors.
so, in the above scenario if i use mySQL for persitence storage of
messages and activeMQ 5.0 then i can take advantage of spooling.
You can't easily change the version of ActiveMQ in ServiceMix because
ServiceMix is compiled against ActiveMQ and I know that the trunk
version of ActiveMQ contains a lot of changes.
so, the message for a particular client will be loaded into heap from
DB and will be dispatched to the client when the client tries to read the
message.
Is my understanding correct?
To my knowledge, in ActiveMQ 4.1 when persistence is used, some
messages are still held in memory, but I'm not sure exactly how that's
determined. You'd be better off asking these very ActiveMQ-specific
questions about the internals on the ActiveMQ users list.
- At some point of time iam getting the following error on servicemix
console when iam using mySQL 5.0 as persitence storage.
...
ERROR - JournalPersistenceAdapter - Failed to mark the Journal:
org.apache.activeio.journal.InvalidRecordLocationException: The location is
less than the last mark.
org.apache.activeio.journal.InvalidRecordLocationException: The location is
less than the last mark.
This looks like there might be an issue with the persistence
configuration for ActiveMQ. Please post the XML you're using to
configure the persistence in ActiveMQ.
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/