ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Problem with QueueReceiver.receive

Post new topic  Reply to topic
 Problem with QueueReceiver.receive « View previous topic :: View next topic » 
Author Message
olekg
PostPosted: Fri Jun 03, 2005 1:22 am    Post subject: Problem with QueueReceiver.receive Reply with quote

Newbie

Joined: 04 May 2005
Posts: 8
Location: Poznan, Poland

Hello,

I am using Java JMS classes to connect to WebSphere MQ from standalone Java client program.

We face a problem of very long time waiting to receive a message form the Queue.

The
msg = receiver.receive(timeout);
takes more than 10 seconds to obtain a message that is in the queue.

How can I debug Java JMS classes and MQ Manager to see what is actually happening.

I will note that there is no traffic on MQ, there are only single test messages. Also the messages are not long - about n* kB.

Any help and suggestions will be appreciated.

sincerely Olek

We use WebSphere MQ 5.3 on HP-UX and clients on Windows.

Poznan, Poland
Back to top
View user's profile Send private message Send e-mail
bower5932
PostPosted: Fri Jun 03, 2005 5:45 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

You could start by running a jms trace against your program to see if it shows anything. There are details in the Using Java manual. You could also look into the errors subdirectories to see if there are any errors that might account for delays.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Problem with QueueReceiver.receive
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.