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 » Message Listener - Latency time during server startup ..

Post new topic  Reply to topic
 Message Listener - Latency time during server startup .. « View previous topic :: View next topic » 
Author Message
Manikrish
PostPosted: Wed Aug 27, 2003 9:07 pm    Post subject: Message Listener - Latency time during server startup .. Reply with quote

Apprentice

Joined: 19 Jun 2002
Posts: 35

Hi.,

While running multiple message listener thread in the jms client application, the application concedes more time to get loaded initially.

Here the piece of code tested for this case:

queue1 = (Queue)InitialContext.lookup("TEST1");
receiver1 = session.createReceiver(queue1);

//Fire the onMesage event when message arrive at the Request Queue
receiver1.setMessageListener(this);

queue2 = (Queue)InitialContext.lookup("TEST2");
receiver2 = session.createReceiver(queue2);

//Fire the onMesage event when message arrive at the Request Queue
receiver2.setMessageListener(this);

public void onMessage(Message msg)
{
// some code
}

similarly we are having 8 message listener registered with 8 different queues.

Here the JMSClient application is loaded via the bootstrap servlet during server start up and it takes more time to get loaded initially. How can we reduce this time span?.

Any help would be appreciated !!!

Manikrish
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Message Listener - Latency time during server startup ..
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.