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 » Stopping Receivers

Post new topic  Reply to topic
 Stopping Receivers « View previous topic :: View next topic » 
Author Message
techno
PostPosted: Mon Nov 17, 2003 2:03 pm    Post subject: Stopping Receivers Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

I have number of Receivers receiving messages from queues. Each is a stand-alone application, meant for different functionality.

What is the best way to stop these daemon applications. My idea is to use Sockets. If I use socket, I have to assign ports at which the request for stop/start is done. Shall I use one Server socket (one port) to control all the applications on a machine ? OR different ports for different apps. In second case, there would be more consumption of portIds.

Thanks for your suggestion,
Back to top
View user's profile Send private message
dsim
PostPosted: Mon Nov 17, 2003 7:43 pm    Post subject: Reply with quote

Acolyte

Joined: 11 Aug 2003
Posts: 67
Location: Toronto

I suggest using semaphores
Back to top
View user's profile Send private message
maxis
PostPosted: Tue Nov 18, 2003 6:53 am    Post subject: Reply with quote

Centurion

Joined: 25 Jun 2002
Posts: 144

just a thought ... how about using Threading model of java ... and grouping under ThreadGroup


M
Back to top
View user's profile Send private message
techno
PostPosted: Wed Nov 19, 2003 8:02 am    Post subject: Reply with quote

Chevalier

Joined: 22 Jan 2003
Posts: 429

Thinking of using rmi and threads because jvm is different for receivers and for the program requesting the stop/start. what do u say?
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 » Stopping Receivers
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.