Announcement Announcement Module
Collapse
No announcement yet.
message-driven-channel-adapter issue connecting Oracle AQ Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • message-driven-channel-adapter issue connecting Oracle AQ

    I am trying to consume message from oracle AQ using spring integration. Part of my configuration is below.

    <bean id="orderFeedMessageListener" class="com.mpff.OrderFeedMessageListener"/>

    <!-- JMS adapter for 'jms-bridge-input-queue' JMS queue. -->
    <int-jms:message-driven-channel-adapter id="oracleJmsBridgeInputQueueAdapter" channel="oracleJmsBridgeChannel"
    extract-payload="true" connection-factory="cachedConnectionFactory"
    destination-name="jms_order_inputqueue" transaction-manager="transactionManager"/>

    <int:service-activator input-channel="oracleJmsBridgeChannel" ref="orderFeedMessageListener"
    method="processMessage"/>

    <bean id="transactionManager"
    class="org.springframework.jms.connection.JmsTrans actionManager">
    <property name="connectionFactory">
    <ref bean="cachedConnectionFactory" />
    </property>
    </bean>


    during runtime I am getting the following error. I am not sure what is missing. I really appreciate some help.

    Feb 8, 2012 11:28:52 PM org.springframework.integration.endpoint.AbstractE ndpoint start
    INFO: started org.springframework.integration.jms.ChannelPublish ingJmsMessageListener$GatewayDelegate@1035079
    Feb 8, 2012 11:28:52 PM org.springframework.integration.endpoint.AbstractE ndpoint start
    INFO: started oracleJmsBridgeInputQueueAdapter
    Feb 8, 2012 11:28:59 PM org.springframework.jms.listener.DefaultMessageLis tenerContainer handleListenerSetupFailure
    WARNING: Setup of JMS message listener invoker failed for destination 'jms_order_inputqueue' - trying to recover. Cause: javax/transaction/Transaction
    Feb 8, 2012 11:28:59 PM org.springframework.jms.connection.SingleConnectio nFactory initConnection
    INFO: Established shared JMS Connection: oracle.jms.AQjmsConnection@1c783c5
    Feb 8, 2012 11:28:59 PM org.springframework.jms.listener.DefaultMessageLis tenerContainer refreshConnectionUntilSuccessful
    INFO: Successfully refreshed JMS Connection
    Feb 8, 2012 11:29:06 PM org.springframework.jms.listener.DefaultMessageLis tenerContainer handleListenerSetupFailure
    WARNING: Setup of JMS message listener invoker failed for destination 'jms_order_inputqueue' - trying to recover. Cause: javax/transaction/Transaction
    Feb 8, 2012 11:29:06 PM org.springframework.jms.listener.DefaultMessageLis tenerContainer refreshConnectionUntilSuccessful
    INFO: Successfully refreshed JMS Connection
    Last edited by kgvijay; Feb 9th, 2012, 02:39 AM.
Working...
X