1 Reply Latest reply on May 18, 2011 5:59 PM by Ram Konchada

    OracleAQJMS exception on JMSReplyTo header when routing from MQ to Oracle .

    Ram Konchada Newbie

      Hi,

       

      I have a simple route which dequeues from MQ and enqueues to Oracle AQ and in this process I am getting the following exception.

       

      My from endpoint URI from ActiveMQ has the parameter disableJMSReplyTo=true and I still get the exception.

       

      I was successfully able to run this route before and all of a sudden I don't why this is happening.

       

      Any thoughts?

       

      org.apache.camel.RuntimeCamelException - org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is oracle.jms.AQjmsException: JMS-147: Invalid ReplyTo destination type, or use of reserved `JMSReplyTo agent name, or serialization error with AQjmsDestination

      org.apache.camel.RuntimeCamelException: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is oracle.jms.AQjmsException: JMS-147: Invalid ReplyTo destination type, or use of reserved `JMSReplyTo agent name, or serialization error with AQjmsDestination

              at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1139)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:115)[242:org.apache.camel.camel-jms:2.6.0.fuse-00-00]

              at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)[75:org.springframework.jms:3.0.5.RELEASE]

              at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)[75:org.springframework.jms:3.0.5.RELEASE]

              at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)[75:org.springframework.jms:3.0.5.RELEASE]

              at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)[75:org.springframework.jms:3.0.5.RELEASE]

              at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)[75:org.springframework.jms:3.0.5.RELEASE]

              at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)[75:org.springframework.jms:3.0.5.RELEASE]

              at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)[75:org.springframework.jms:3.0.5.RELEASE]

              at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)[75:org.springframework.jms:3.0.5.RELEASE]

              at java.lang.Thread.run(Thread.java:619)[:1.6.0_15]

      Caused by: org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is oracle.jms.AQjmsException: JMS-147: Invalid ReplyTo destination type, or use of reserved `JMSReplyTo agent name, or serialization error with AQjmsDestination

              at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316)[75:org.springframework.jms:3.0.5.RELEASE]

              at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:168)[75:org.springframework.jms:3.0.5.RELEASE]

              at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:469)[75:org.springframework.jms:3.0.5.RELEASE]

              at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.send(JmsConfiguration.java:175)[242:org.apache.camel.camel-jms:2.6.0.fuse-00-00]

              at org.apache.camel.component.jms.JmsProducer.doSend(JmsProducer.java:355)[242:org.apache.camel.camel-jms:2.6.0.fuse-00-00]

              at org.apache.camel.component.jms.JmsProducer.processInOnly(JmsProducer.java:309)[242:org.apache.camel.camel-jms:2.6.0.fuse-00-00]

              at org.apache.camel.component.jms.JmsProducer.process(JmsProducer.java:99)[242:org.apache.camel.camel-jms:2.6.0.fuse-00-00]

              at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:99)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:299)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:208)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:269)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.Pipeline.process(Pipeline.java:125)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:102)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:85)[45:org.apache.camel.camel-core:2.6.0.fuse-00-00]

              at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:92)[242:org.apache.camel.camel-jms:2.6.0.fuse-00-00]

              ... 9 more

      Caused by: oracle.jms.AQjmsException: JMS-147: Invalid ReplyTo destination type, or use of reserved `JMSReplyTo agent name, or serialization error with AQjmsDestination

              at oracle.jms.AQjmsError.throwEx(AQjmsError.java:285)[268:wrap_file__export_home6_rkonchada-c_WORKING_SWIM_prototype_lib_aqapi.jar:0]

              at oracle.jms.AQjmsMessage.setJMSReplyTo(AQjmsMessage.java:523)[268:wrap_file__export_home6_rkonchada-c_WORKING_SWIM_prototype_lib_aqapi.jar:0]

              at org.apache.camel.component.jms.JmsBinding.appendJmsProperty(JmsBinding.java:326)[242:org.apache.camel.camel-jms:2.6.0.fuse-00-00]

              at org.apache.camel.component.jms.JmsBinding.appendJmsProperties(JmsBinding.java:312)[242:org.apache.camel.camel-jms:2.6.0.fuse-00-00]        at org.apache.camel.component.jms.JmsBinding.makeJmsMessage(JmsBinding.java:290)[242:org.apache.camel.camel-jms:2.6.0.fuse-00-00]

              at org.apache.camel.component.jms.JmsProducer$2.createMessage(JmsProducer.java:223)[242:org.apache.camel.camel-jms:2.6.0.fuse-00-00]

              at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.doSendToDestination(JmsConfiguration.java:201)[242:org.apache.camel.camel-jms:2.6.0.fuse-00-00]

              at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate.access$100(JmsConfiguration.java:144)[242:org.apache.camel.camel-jms:2.6.0.fuse-00-00]

              at org.apache.camel.component.jms.JmsConfiguration$CamelJmsTemplate$3.doInJms(JmsConfiguration.java:178)[242:org.apache.camel.camel-jms:2.6.0.fuse-00-00]

              at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:466)[75:org.springframework.jms:3.0.5.RELEASE]

              ... 40 more