activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ripad <>
Subject Persist messages in MySQL as text instead of blob
Date Tue, 13 Dec 2016 13:33:36 GMT
Hi all,

I am using ActiveMQ 5.14.1 and a MySQL 5.7 database to persist messages. I
want to change the type of the MSG column in the ACTIVEMQ_MSGS table from
BLOB to some sort of text like TEXT or VARCHAR. But setting the
binaryDataType in the configuration of my persistence adapter (see the XML
snippet below) has no effect - when ActiveMQ recreates the ACTIVEMQ_MSGS
table, the MSG column is still of type BLOB.

This is my current persistence adapter configuration:

            <jdbcPersistenceAdapter dataSource="#mysql-ds"
                    <statements binaryDataType="TEXT"/>

How can I change the type of the MSG column?

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message