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 Discussion » MQ Target (Endpoint) Simulation

Post new topic  Reply to topic
 MQ Target (Endpoint) Simulation « View previous topic :: View next topic » 
Author Message
mpeter
PostPosted: Mon Aug 20, 2007 12:25 pm    Post subject: MQ Target (Endpoint) Simulation Reply with quote

Newbie

Joined: 20 Aug 2007
Posts: 4

Hello all,

I'm developing a simple JMS application to 'stub' a target system and provide simulated responses as requests are received. There is an added constraint that the target system I intend to simulate is also actively listening to a queue on a particular channel dedicated to that system. My basic approach is as follows:

- stop channel Target system is listening on
- listen to target queues and provide responses based on message content
- start channel when simulation testing is finished

Firstly, is this a good approach, or is there a better way? And second, how can I execute the stop/start command to the queue manager with JMS?

Thanks, please let me know if I haven't provided enough detail.

~ mpeter
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Aug 20, 2007 1:38 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Are you using some kind of JNDI?

If so, set up the destination to point to a different queue, until you've completed your testing.

Then switch the destination and try again.
_________________
I am *not* the model of the modern major general.
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 » General Discussion » MQ Target (Endpoint) Simulation
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.