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 IBM MQ Support » General question about Websphere MQ Publish Subscribe

Post new topic  Reply to topic
 General question about Websphere MQ Publish Subscribe « View previous topic :: View next topic » 
Author Message
ALCSALCS
PostPosted: Mon Jul 28, 2014 1:59 am    Post subject: General question about Websphere MQ Publish Subscribe Reply with quote

Acolyte

Joined: 14 Apr 2002
Posts: 61

We were intending to use the PUB/SUB to duplicate a message being delivered to one queue to two queues. In general, this works fine and the data part of the message is an identical copy.
We now realise that the application putting/reading the original message uses the correlid.
Additionally the PUB/SUB engine also uses the correlid, so the application cannot now rely upon this correlid field to read respones to the original messages.

So basically the question is, has anyone managed to find a way around this to achieve what we require as described above using PUB/SUB or its just known that if you use the correlid in your application then PUB/SUB is not a viable solution since it uses the correlid?

Many thanks in advance for any help or suggestions.
Back to top
View user's profile Send private message
zpat
PostPosted: Mon Jul 28, 2014 2:26 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

It's been RFE'd

http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=35062
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
ALCSALCS
PostPosted: Tue Aug 12, 2014 3:21 am    Post subject: Reply with quote

Acolyte

Joined: 14 Apr 2002
Posts: 61

Hi All,

We managed to find a solution / way around this to preserve the correlid set by an application when using PUB/SUB.

What was done is as follows;
Simply set the correlid parameter for the Subscription to zeroes.
Then any messages sent will have their correlid preserved. Not sure why this is not documented, or at least we didn't find any documentation.

Hope that helps anyone else trying to achieve the same as we did.

Thanks.
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Aug 12, 2014 3:34 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Version? commands used?
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Back to top
View user's profile Send private message
ALCSALCS
PostPosted: Tue Aug 12, 2014 4:08 am    Post subject: Reply with quote

Acolyte

Joined: 14 Apr 2002
Posts: 61

The MQ version we have is MQ V7.0.1.12

The command used to change was;

ALTER SUB(subscription name...) DESTCORL(00)

or much easier to change using MQ Explorer.

Thanks.
Back to top
View user's profile Send private message
zpat
PostPosted: Tue Aug 12, 2014 5:27 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

And this behaviour is definitely different to just omitting the DESTCORL parameter?

If so, I suggest you raise a documentation APAR via a PMR with IBM.

It's not ideal to rely on an undocumented feature.
_________________
Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
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 IBM MQ Support » General question about Websphere MQ Publish Subscribe
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.