修改内容
<property name="deleteOldMessagesStatement" value="DELETE ACTIVEMQ_MSGS FROM ACTIVEMQ_MSGS WHERE ( EXPIRATION<>0 AND EXPIRATION<?) OR ID <= ( SELECT min(ACTIVEMQ_ACKS.LAST_ACKED_ID) FROM ACTIVEMQ_ACKS WHERE ACTIVEMQ_ACKS.CONTAINER=ACTIVEMQ_MSGS.CONTAINER)"/>
中value的属性值
DELETE ACTIVEMQ_MSGS FROM ACTIVEMQ_MSGS改成DELETE FROM ACTIVEMQ_MSGS