|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MqGet not getting all the messages without the Debugger |
« View previous topic :: View next topic » |
Author |
Message
|
nthepak |
Posted: Sat Feb 14, 2009 2:12 am Post subject: MqGet not getting all the messages without the Debugger |
|
|
 Voyager
Joined: 19 Dec 2005 Posts: 79 Location: India
|
Hello everybody,
I have a MqGet to fetch the messages based on the MsgId. It is working fine to fetch multiple messages from the queue when run with the debugger ON, but failing to do the same without the debugger...
I have increased the "Minimum message buffer size" to 100KB in the Advanced tab of the MqGet node, but still having the same issue.
Please let me know if there is anything else that can be done to make this work without the Debugger  _________________ BR,
Deepak N |
|
Back to top |
|
 |
nthepak |
Posted: Sat Feb 14, 2009 2:48 am Post subject: |
|
|
 Voyager
Joined: 19 Dec 2005 Posts: 79 Location: India
|
Hello everybody again...
Just wanted to get some insight on how about using a JCN node in place of MqGet node to get the messages from the queue.
Can anybody please share the java code for the same  _________________ BR,
Deepak N |
|
Back to top |
|
 |
smdavies99 |
Posted: Sat Feb 14, 2009 6:57 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
So what is happening the the MQget Node?
Does it return an error?
Are you sure you are resetting the MSGid before calling it again?
Are you sure there are messages to get?
We need more detail in order to help you get to the bottom of the issue.
There are many (and well documented here) cases where the MQGet Node has been used ro read messages from queue. Have you looked at the previous posts? It does work. If you have some doubts about the functionality of the node then raise a PMR with IBM to get formal support, otherwise without (As I have said above) more information we can't help you.
With regard to your second post.
If you want to go down this route then you shoud really post it as a different issue. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
kimbert |
Posted: Sat Feb 14, 2009 11:21 am Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5542 Location: Southampton
|
One side-effect of the debugger is that it sometimes catches and discards parser exceptions. Have you checked the system log, or taken a user trace, without the debugger attached to check whether your flow is reporting errors? |
|
Back to top |
|
 |
nthepak |
Posted: Sun Feb 15, 2009 8:37 pm Post subject: |
|
|
 Voyager
Joined: 19 Dec 2005 Posts: 79 Location: India
|
Hi, Thank you for your responses...
MqGet node is not retruning any errors and infact, the MsgId value for which i expect a message out of the MqGet queue is set properly. Its just that I am not getting any errors when run without the debugger ON and i have the trace files set before every possible error output queue and i am not getting any logs in these files either.
As a scenario, if there are 3 messages that are supposed to be fetched from the MqGet node, and when the broker is run without the debugger, it picks up the first two messages and thats it, i dont see any error messages being populated in the configured error queues and the fetched messages are not even in the dead-letter queue either.
Earlier, i had faced this issue only while fetching mulitple messages one after the other, and then i increased the "Minimum message buffer size" to 100KB in the Advanced tab of the MqGet node and it worked thereafter, but now its not even working to fetch a single message and process correctly.
I feel this might be because of broker logs being full or broker not having enough space in the buffer to fetch the messages. Please correct me if i am wrong. _________________ BR,
Deepak N |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|