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 » TimeoutControl node

Post new topic  Reply to topic
 TimeoutControl node « View previous topic :: View next topic » 
Author Message
Omuch
PostPosted: Sun Mar 25, 2012 1:09 am    Post subject: TimeoutControl node Reply with quote

Acolyte

Joined: 23 Mar 2012
Posts: 54

Hi

I have a flow with TimoutNotification node + TimeoutControl node.
I send message with the right parametrs to the TimeoutControl and i see in debug that the message get out from the out terminal of the TimeoutControl, but nothing changed in the TimeoutNotification.

Any idea?

Thanks.
Back to top
View user's profile Send private message
kash3338
PostPosted: Sun Mar 25, 2012 2:43 am    Post subject: Re: TimeoutControl node Reply with quote

Shaman

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

Omuch wrote:
Hi

I have a flow with TimoutNotification node + TimeoutControl node.
I send message with the right parametrs to the TimeoutControl and i see in debug that the message get out from the out terminal of the TimeoutControl, but nothing changed in the TimeoutNotification.


Can you give more details on your flow design?
How many TimeoutNotiofication do you have and whats the flow design sequence?
What message do you send to TimeoutControl node?
Back to top
View user's profile Send private message Send e-mail
Omuch
PostPosted: Sun Mar 25, 2012 9:25 am    Post subject: Reply with quote

Acolyte

Joined: 23 Mar 2012
Posts: 54

I have one TimeoutNotiofication that triggers a SOAP request and in parallel
one TimeoutControl, It looks like this:

TimeoutNotiofication -> Compute node -> SOAPRequest
MQinput -> Compute Node -> TimeoutControl node

The message is:

<TimeoutRequest>
<Action>SET </Action>
<Identifier>the Identifier </Identifier>
<StartDate>TODAY</StartDate>
<StartTime>NOW</StartTime>
<Interval>10</Interval>
<Count>-1</Count>
<IgnoreMissed>TRUE</IgnoreMissed>
<AllowOverwrite>TRUE</AllowOverwrite>
</TimeoutRequest>
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sun Mar 25, 2012 9:32 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

This is kind of a crazy design.

Why not just MQInput->SOAPRequest?

Why the need to schedule when a request is made this way? Use a real scheduler that can run amqsput or something.
Back to top
View user's profile Send private message
Omuch
PostPosted: Sun Mar 25, 2012 10:50 am    Post subject: Reply with quote

Acolyte

Joined: 23 Mar 2012
Posts: 54

I have an internal service, that I need to schedule every 24 hours.

what you mean by "request is made this way"?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Sun Mar 25, 2012 11:26 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I mean, why are you using this method to schedule the request.

You could use a cron job and use amqsput to send a message to a flow that was MQInput->SOAPRequest, instead of trying to do this.

Or you could simply just configure the TimeoutControl node to send the message every 24 hours?
http://www.ibm.com/developerworks/websphere/library/techarticles/0603_schutz/0603_schutz.html
Back to top
View user's profile Send private message
Vitor
PostPosted: Sun Mar 25, 2012 1:34 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
You could use a cron job and use amqsput to send a message to a flow that was MQInput->SOAPRequest, instead of trying to do this.




Because:

mqjeff wrote:
Or you could simply just configure the TimeoutControl node to send the message every 24 hours?
http://www.ibm.com/developerworks/websphere/library/techarticles/0603_schutz/0603_schutz.html


If this is not supposed to run every 24 hours but at a specific time every day, a number of things can reset the node so that it either fires 24 hours after reset or doesn't fire at all. The cron utility is immune to this.

You should seriously rethink all aspects of this design from scheduleing to file handling.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Mar 26, 2012 5:35 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

It seems you may be attempting to track state in WMB. Classic ESB implementations use WMB as a stateless object. Find some other way to track state besides WMB.
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Mon Mar 26, 2012 6:06 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lancelotlinc wrote:
It seems you may be attempting to track state in WMB. Classic ESB implementations use WMB as a stateless object. Find some other way to track state besides WMB.


There's no reason to assume that all uses of WMB must be an ESB.

There's no reason to assume that all uses of WMB *are* an ESB.

There's no reason to assume that an attempt to use WMB as a scheduler has anything to do with an attempt to treat WMB as a stateful engine.

There are several important solutions built on top of WMB that incorporate stateful datastores.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Mar 26, 2012 10:11 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

mqjeff wrote:
lancelotlinc wrote:
It seems you may be attempting to track state in WMB. Classic ESB implementations use WMB as a stateless object. Find some other way to track state besides WMB.


There's no reason to assume that all uses of WMB must be an ESB.

There's no reason to assume that all uses of WMB *are* an ESB.

There's no reason to assume that an attempt to use WMB as a scheduler has anything to do with an attempt to treat WMB as a stateful engine.

There are several important solutions built on top of WMB that incorporate stateful datastores.


My comments were clear regarding the "Classic" use of an ESB. In addition, IBM documentation specifies the same:

Quote:
Use message flows only for performing mediation activities like transformation, translation, protocol conversion, message enrichment, and routing. Message flows should be stateless engines in the mediation activities.


http://www.ibm.com/developerworks/websphere/library/techarticles/0809_kudikala/0809_kudikala.html

Of course, anyone can break the rules. If someone wanted a hybrid, they could make a stateful message flow. IMHO (thanks Vitor), there are better places to track state than inside a message flow.

Quote:
Given the stateless transactional nature of an ESB, high performance is a given. It's not uncommon for an ESB to handle millions of messages each day in a large organization.


http://www.ibm.com/developerworks/websphere/library/techarticles/0803_fasbinder2/0803_fasbinder2.html
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
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 » TimeoutControl node
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.