7 Replies Latest reply on May 6, 2011 3:00 PM by Tom Cunningham

    [JmsGatewayListener] Action class method <process> returned a null object

    Pasu Krish Newbie

      I am trying to consume message off a topic in Oracle AQ. I have a jms-provider connectionfactory with a gateway listener configured as below


      <jms-provider name="JBossMessagingForGWND" connection-factory="ConnectionFactory">

                      <property name="java.naming.factory.initial"

                                                        value="org.jboss.soa.esb.oracle.aq.AQInitialContextFactory" />

                                              <property name="java.naming.oracle.aq.user" value="xxx" />

                                              <property name="java.naming.oracle.aq.password" value="xxx" />

                                              <property name="java.naming.oracle.aq.server" value="xxx" />

                                              <property name="java.naming.oracle.aq.instance" value="xx" />

                                              <property name="java.naming.oracle.aq.schema" value="xx" />

                                              <property name="java.naming.oracle.aq.port" value="1521" />

                                              <property name="java.naming.oracle.aq.driver" value="thin" />  

                    <jms-bus busid="tempbusid">






                    <jms-bus busid="tempesbid">

                                              <jms-message-filter dest-name="topic/topic-name"

                                                                            dest-type="TOPIC" />





      I get the following exception when a message gets published on the topic


      "[JmsGatewayListener] Action class method <process> returned a null object".


      Is it because of some sort of a message type conversion issue between AQ and the JBoss ESB Gateway.


      I found a open JIRA with a similar exception here https://jira.jboss.org/jira/browse/JBESB-2065 . Not sure if these are related.


      Any suggestion/help is really appreciated. Thanks in advance.