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 » Message expiry

Post new topic  Reply to topic
 Message expiry « View previous topic :: View next topic » 
Author Message
Chris-TH
PostPosted: Sun Dec 04, 2011 10:31 pm    Post subject: Message expiry Reply with quote

Newbie

Joined: 04 Dec 2011
Posts: 3

Hi,

I'm new to MQ/MB so hopefully this is not a stupid question.

I have developed an interface to a subsystem. The subsystem will connect to a TCPIPServer (in/out). There is a requirement for a heartbeat being sent and I implemented it this way:

Timeout notification -> Compute -> TCPIPServerOutput

The interface is working pretty much according to specifications, but I noticed something with the heartbeat:

If there is no client connected to the TCPIP server, the heartbeats are being "queued" internally in the flow. That means heartbeat messages generated every minute are being kept and all sent when a client connects. I noticed that when I connected a client and 8 hours worth of heartbeats were being sent!!!

So my question is: Is there a timer that I can use to make the heartbeats expire?

I know that there is a timer for messages on a queue, but this is not over a queue but directly from the compute node to the Output node.
Back to top
View user's profile Send private message
paintpot
PostPosted: Mon Dec 05, 2011 9:21 am    Post subject: Reply with quote

Centurion

Joined: 19 Sep 2005
Posts: 112
Location: UK

I would suggest connecting your TCPIPServerOutput node failure terminal - it can then route your failures to a notification system - where you could aggregate them / delete them etc.
Of course, you could even decide not to do anything and just lose them.

I've not tried this, so have fun testing! the principle ought to be ok.
Back to top
View user's profile Send private message
Chris-TH
PostPosted: Mon Dec 05, 2011 9:59 am    Post subject: Reply with quote

Newbie

Joined: 04 Dec 2011
Posts: 3

Well, that is what I wanted to avoid (keeping track of the status of the connection). In that case I would be better off with a shared variable that holds the status of the TCPIP connection. Then in my compute node I would just propagate the heartbeats to 'nowhere' if the connection is down.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Dec 05, 2011 10:08 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

The issue has nothing to do with the TCPServerOutput node.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fac30140_.htm
Back to top
View user's profile Send private message
Chris-TH
PostPosted: Tue Dec 06, 2011 12:17 am    Post subject: Reply with quote

Newbie

Joined: 04 Dec 2011
Posts: 3

Thank you for that hint. It look like I need to attach a compute node to the catch terminal and inside that node, propagate to 'nowhere'

I'll try that out.
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 » Message expiry
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.