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 » two timer flows in same execution group

Post new topic  Reply to topic
 two timer flows in same execution group « View previous topic :: View next topic » 
Author Message
my_mqmb
PostPosted: Sun Dec 23, 2012 10:51 pm    Post subject: two timer flows in same execution group Reply with quote

Voyager

Joined: 08 Jun 2011
Posts: 84

Does this cause any problem ? i have two seperate timer flows in the same execution group . will it cause any conflicts ?

i see timer events being missed out .
Back to top
View user's profile Send private message
kash3338
PostPosted: Mon Dec 24, 2012 12:27 am    Post subject: Re: two timer flows in same execution group Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

my_mqmb wrote:
Does this cause any problem ? i have two seperate timer flows in the same execution group . will it cause any conflicts ?

i see timer events being missed out .


Are you using only TimerNotification node or a combination of both TimerNotification and TimerControl?

There are no problems in deploying more than one flow which uses Timer nodes.
Back to top
View user's profile Send private message Send e-mail
my_mqmb
PostPosted: Mon Dec 24, 2012 1:55 am    Post subject: Reply with quote

Voyager

Joined: 08 Jun 2011
Posts: 84

a combination in one flow

only notification in other flow.
Back to top
View user's profile Send private message
kash3338
PostPosted: Mon Dec 24, 2012 4:15 am    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

Again, there should not be any problem in deploying two flows with timer nodes in a same EG. Can you elaborate on the issue? Which flow is missing the events and in case of combination of TimerControl & Notification, is the UID matching?
Back to top
View user's profile Send private message Send e-mail
my_mqmb
PostPosted: Mon Dec 24, 2012 5:43 am    Post subject: Reply with quote

Voyager

Joined: 08 Jun 2011
Posts: 84

Thanx for the response , the UID is matching.

The issue identified.

I had to get a msg id from the request coming through timeout notification.
Is there a way to do this ?

The message coming out of timeout notification node has only properties folder.

Is it possible to generate a msg id at this point after notification node ?
Back to top
View user's profile Send private message
kash3338
PostPosted: Mon Dec 24, 2012 8:09 am    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

my_mqmb wrote:
I had to get a msg id from the request coming through timeout notification.
Is there a way to do this ?


Do you mean MQMD Msg ID? No. Your input is just a Timer node which does not carry any MQMD headers.

my_mqmb wrote:

The message coming out of timeout notification node has only properties folder.

Is it possible to generate a msg id at this point after notification node ?


If you need to generate a unique ID, you can use UUIDASCHAR or UUIDASBLOB functions to generates ID's after the Timer node.
Back to top
View user's profile Send private message Send e-mail
my_mqmb
PostPosted: Tue Dec 25, 2012 12:39 am    Post subject: Reply with quote

Voyager

Joined: 08 Jun 2011
Posts: 84

kash3338 wrote:

If you need to generate a unique ID, you can use UUIDASCHAR or UUIDASBLOB functions to generates ID's after the Timer node.



Thanks kash3338 for yr replies . but hey i thought of that but UUIDASBLOB is like dddddddd_dddd_dddd_dddd_dddddddddddd

where as i need something like proper msg id like 48 char HexDecimal String like :

414d512042424855424e543031512020e29d785028392006

how to achieve this ?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Tue Dec 25, 2012 11:16 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

If you really want an ID that is identical to that used in the MQMD.MsgID field then:-

You can cast a character string to a BLOB as long as the string is 24 characters long. Therefore it could include a timestamp and other data that will Uniquely identify the message.
You could use the last 48 bytes of the UUIDASBLOB string as your MSgID.

Please bear in mind that WMQ will guarantee that the MsgID it generates is unique for that QMGR on that Server. If you are using the MsgID that you generate as a key in other places then you have to make sure that it has the requisite degree of uniqueness.

If you browse a WMQ message you will see that the WMQ Generated MsgID is made up of both Textual and binary elements.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
kash3338
PostPosted: Tue Dec 25, 2012 11:56 pm    Post subject: Reply with quote

Shaman

Joined: 08 Feb 2009
Posts: 709
Location: Chennai, India

my_mqmb wrote:
The issue identified.

I had to get a msg id from the request coming through timeout notification.
Is there a way to do this ?



Can you please let us know what your actual requirement is? Why do you need a ID something like MsgId? Where are you going to set this ID to?
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » two timer flows in same execution group
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.