We use camel to route messages to oracle AQ, camel is running inside
Activemq.

Problem is that oracle consumes messages very slow and therefore the
producer get's slow, hear is the flow:

producer (external Java application) ---> activemq (VirtuelTopic.x) -->
activemq (Consumer.xx.VirtuelTopic.x) ---> Oracle AQ JMS queue

Step (Consumer.xx.VirtuelTopic.x) ---> Oracle AQ JMS queue is done by camel. 

Problem is that Oracle AQ JMS queue consumers is very slow and therefore
this affect all the way back to the producer. 

I would like to configure so activemq camel routes messages fast to Oracle
AQ JMS and not get slow down because Oracle AQ JMS is slow. Is that possible
to do ?

Hear is some of my camel configuration:


<route>
            <description>Cairo to T3OPDB</description>
            <from
uri="activemq:queue:Consumer.XX.VirtualTopic.XX?concurrentConsumers=20" />
            <to uri="T3OPDB:queue:QUEUE_OWNER.XX_IN_Q" />
        </route>

<bean id="T3OPDB" class="org.apache.camel.component.jms.JmsComponent">
        <property name="connectionFactory">
            <bean
class="org.springframework.jms.connection.SingleConnectionFactory">
                <property name="targetConnectionFactory">
                    <bean class="oracle.jms.AQjmsConnectionFactory">
                        <property name="jdbcURL"
                                 
value="jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oradb5.test.host)(PORT=1522)))(CONNECT_DATA=(SID=T3OPDB)))"/>
                        <property name="username" value="xxx"/>
                        <property name="password" value="xxx"/>
                    </bean>
                </property>
                <property name="reconnectOnException" value="true"/>
            </bean>
        </property>
    </bean>








  









--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Activemq-oracle-AQ-slow-consumer-tp4681161.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to