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 IndexGeneral IBM MQ SupportRetaining the Publisher MessageID in Pub/Sub

Post new topicReply to topic Goto page Previous  1, 2
Retaining the Publisher MessageID in Pub/Sub View previous topic :: View next topic
Author Message
gbaddeley
PostPosted: Wed Apr 17, 2019 3:39 pm Post subject: Reply with quote

Padawan

Joined: 25 Mar 2003
Posts: 1949
Location: Melbourne, Australia

Quote:
B app is hard coded to send to only a particular reply Q.

Call it out as a bad design. Fix it before it becomes a mill stone around your neck. Can you run 2 instances of B, that consume from different request queues, and put to different (hard coded) reply queues?
_________________
Glenn
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Apr 17, 2019 3:52 pm Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7530

vicks_mq wrote:

B app is hard coded to send to only a particular reply Q.


It was easier to do this originally, right?
We'll "never, ever" need to send to anyone else, so why bother writing a half dozen extra lines of code to respect the MQMD's Report, ReplyToQ and ReplyTo QMgr fields.

I get it, you may not have been around when this was first implemented and just have to deal with the subsequent mess, but take heart in knowing that App B is coded incorrectly. App B is wrong, plain and simple.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
vicks_mq
PostPosted: Wed Apr 17, 2019 7:55 pm Post subject: Reply with quote

Disciple

Joined: 03 Oct 2017
Posts: 155

gbaddeley wrote:
Quote:
B app is hard coded to send to only a particular reply Q.

Call it out as a bad design. Fix it before it becomes a mill stone around your neck. Can you run 2 instances of B, that consume from different request queues, and put to different (hard coded) reply queues?


B belongs to a vendor who due to budget constraints can't put any more billing hours. I doubt they would work for free though
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum IndexGeneral IBM MQ SupportRetaining the Publisher MessageID in Pub/Sub
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.