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 » WebSphere Message Broker (ACE) Support » CorrelId reset/random

Post new topic  Reply to topic
 CorrelId reset/random « View previous topic :: View next topic » 
Author Message
Gama
PostPosted: Tue Nov 21, 2006 9:55 am    Post subject: CorrelId reset/random Reply with quote

Centurion

Joined: 11 Jan 2005
Posts: 103
Location: Portugal

Hello all,

I'm using the "propagate;" and the output message has the same MsgId and CorrelId, but i need to overite the CorrelId with a random id.

is that possible?

Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Nov 21, 2006 10:24 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Change the properties of the MQOutput node to generate a new correlation id.

Don't generate a 'random' one, let the queue manager do it for you.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Gama
PostPosted: Wed Nov 22, 2006 2:30 am    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2005
Posts: 103
Location: Portugal

jefflowrey wrote:
Change the properties of the MQOutput node to generate a new correlation id.

Don't generate a 'random' one, let the queue manager do it for you.


Tanks jefflowrey, it works fine and it's too simple...

It's is possible force que property with ESQL syntax?

Thanks and best regards.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Nov 22, 2006 2:44 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Yes, you can update OutputRoot.MQMD.CorrelId with a value before you invoke the MQOutput node.

But it's really not a great idea, design wise. The queue manager will generate a new id that is guaranteed to be unique across your entire qmgr network (assuming you have not made two queue managers with the same name!)
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Gama
PostPosted: Wed Nov 22, 2006 2:48 am    Post subject: Reply with quote

Centurion

Joined: 11 Jan 2005
Posts: 103
Location: Portugal

jefflowrey wrote:
Yes, you can update OutputRoot.MQMD.CorrelId with a value before you invoke the MQOutput node.

But it's really not a great idea, design wise. The queue manager will generate a new id that is guaranteed to be unique across your entire qmgr network (assuming you have not made two queue managers with the same name!)

Ok,

I will folow your sugestion.

Thanks a lot.
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 » WebSphere Message Broker (ACE) Support » CorrelId reset/random
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.