camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tops <>
Subject Re: sending oracle XMLType message to activeMQ
Date Fri, 10 Feb 2012 17:34:49 GMT
Hi Ashwin!

Let me answer to your questions:

1. Yes, ActiveMQ (5.5.1) uses a persistent store, but this store is MySQL
not the Oracle database. Therefore it's not clear for me why the class that
thrown the exception is oracle.jdbc.driver.T2CConnection:

Caused by:

This is the respective ActiveMQ configuration part:

    <bean id="mysql-ds" class="org.apache.commons.dbcp.BasicDataSource"
        <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
        <property name="url"
        <property name="username" value="activemq"/>
        <property name="password" value="activemq"/>
        <property name="maxActive" value="200"/>
        <property name="poolPreparedStatements" value="true"/>

            <journalPersistenceAdapterFactory journalLogFiles="5"
dataDirectory="${activemq.base}/activemq-data" dataSource="#mysql-ds"/>

2. I went through the oracle documentation once again, just to make sure
that value of the object is serialized:

we use XMLType xtype.getClobVal() - which is one of the serialized fields,
according to documentation mentioned above.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message