-
1. [JmsGatewayListener] Action class method <process> returned a null object
tcunning May 5, 2011 2:27 PM (in response to ckpasu)Do you know what type of JMS Message you are trying to consume when you see this problem?
-
2. [JmsGatewayListener] Action class method <process> returned a null object
goturisk May 5, 2011 2:51 PM (in response to tcunning)I'm trying to consume XML payload message
-
3. [JmsGatewayListener] Action class method <process> returned a null object
tcunning May 5, 2011 5:28 PM (in response to goturisk)In order to figure out whether this bug is related to JBESB-2065 we need to figure out what type of javax.jms.Message you are using. If you can download the source and debug in under Eclipse or IDEA you should be able to set a breakpoint somewhere in PackageJmsMessageContents.setESBMessageBody and figure what fromJMSMessage's class is.
-
4. [JmsGatewayListener] Action class method <process> returned a null object
ckpasu May 6, 2011 1:07 PM (in response to tcunning)Thanks Tom.
Update to this issue :
As suggested we were able to debug through the PackageJmsMessageContent.setESBMessageBody method and the received message type is appararently a TextMessage.
It appears that we are able to consume some of the messages exactly as published on the AQ topic but not in a consisten way. We are able to see the published message from the topic all the time in the PackageJmsMessageContent but in some cases (for similar messages) the body is null.
That's when I notice the error "[JmsGatewayListener] Action class method <process> returned a null object".
What could be the reason that JBoss ESB Gateway is dropping the content of the messages in some cases when the same work during another time ?. Appreciate your response.
-
5. [JmsGatewayListener] Action class method <process> returned a null object
tcunning May 6, 2011 2:42 PM (in response to ckpasu)Is the body null or is the message itself null?
And did you make sure that the topic type is set to SYS.AQ$_JMS_MESSAGE? Also, I'd try using the topic-name without the "topic/" prefix.
-
6. [JmsGatewayListener] Action class method <process> returned a null object
ckpasu May 6, 2011 2:55 PM (in response to tcunning)Yes the body is null. I am able to see the Message object and only the body is null some times. The topic type is set correctly as you mentioned. It is not the case where we are not seeing the message and the body at all..we successfully consume them sometimes and receive an empty message object on the gateway other times. This seems very sporadic in nature and unsure on where the issue is. We checked the message on AQ during the cases where we consume empty message objects but AQ has the right message type and the content during those times as well.
-
7. [JmsGatewayListener] Action class method <process> returned a null object
tcunning May 6, 2011 3:00 PM (in response to ckpasu)Do you have JMS queues working correctly on Oracle AQ? I'd try to get them up and running first and then once you're set with that switch to topics.