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 » IBM MQ Java / JMS » publishing stop at the 36th messages when broker is down

Post new topic  Reply to topic
 publishing stop at the 36th messages when broker is down « View previous topic :: View next topic » 
Author Message
lwl
PostPosted: Tue Dec 14, 2004 1:48 am    Post subject: publishing stop at the 36th messages when broker is down Reply with quote

Apprentice

Joined: 30 Mar 2004
Posts: 41

I user MQ 5.3 CSD7 and WBIMB FP04 at Solaris platform. I use only pub/sub function.

I have a simple JMS publisher which commits after it publishes a message. I use MQ Client connection to QM of the broker. I tried to stop the broker with the QM running and then start the publisher program. The publisher started to publish messages, but it stopped at the 36th messages and then exit with error "no broker response... Reason code 2033". (Very interestingly, it stopped at the 36 messages every times.)

I expect the publisher should be able to publish message even the broker is down as I do the commit by myself. Do you advise why is the behaviour? Thank you.

There is the code fragment of the publisher program.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
boolean transacted = true;
session = connection.createTopicSession(transacted,
Session.AUTO_ACKNOWLEDGE);

....
for (int i = 0; i < msgNumber; i++)
{
outMessage.setText(sizedText + " " + i);
tPub.publish(outMessage);
System.out.println("publish message " + parsedText + " " + i);
session.commit();
Thread.currentThread().sleep(longDelay2);
}
tPub.close();
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Dec 14, 2004 6:33 am    Post subject: Reply with quote

Jedi Knight

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

I've never seen anything like this. Are there any errors or FDC's being created? Is it possible that you have orphaned subscribers and you have queues filling up?
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 » IBM MQ Java / JMS » publishing stop at the 36th messages when broker is down
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.