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 » Wish list: an output terminal for MQOutput node

Post new topic  Reply to topic
 Wish list: an output terminal for MQOutput node « View previous topic :: View next topic » 
Author Message
MVO
PostPosted: Thu Dec 13, 2001 10:37 am    Post subject: Reply with quote

Centurion

Joined: 09 Sep 2001
Posts: 131

We're running MQSI 2.0.2 on NT and Sun Solaris. Our application requires detailed loggings of all incoming and outgoing messages. Currently the MQOutput node only has a failure terminal. Any plan to add an output terminal to it ? we'd like to put a with option NEW_MSGID but without the output terminal, we have no way of knowing the MQSeries-assigned MsgId. For now, we have to manually build the MQ MsgId before the put. This is not a good approach to guarantee uniqueness of MsgId especially in case of disaster recovery.
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Dec 13, 2001 2:45 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

That wouldn't work because it's MQ that generates the unique MessageID on the PUT and there's no MQ option to just generate that MessageID.

If you want MQSI to generate the ID, then why not just generate the message ID yourself, the same way that MQ does:

AMQ space <qmgr name> <some kind of timestamp>

Or for real over-kill, you could always make the output queue from the flow the input queue to a second flow that just captures the information you want and then pass the message on to it's final destination.

Cheers,

_________________
Eddie Atherton
IBM Certified Specialist - MQSeries
IBM Certified Specialist - MQSeries Integrator

[ This Message was edited by: EddieA on 2001-12-13 14:45 ]
Back to top
View user's profile Send private message
NickB
PostPosted: Fri Dec 14, 2001 2:08 am    Post subject: Reply with quote

Centurion

Joined: 20 May 2001
Posts: 107
Location: Zurich Financial Services

If you need to generate a truly unique message id then suggest you use the UUID support pac (IA0L). This works well (tested on both NT and AIX successfully). You need to tailor the node so that the unique number is inserted in to "Root.MQMD.MsgId".
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Dec 14, 2001 8:39 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5849
Location: UK

UUID function is standard in ESQL with WMQI version 2.1

MQ Output nodes have two terminals (out and failure) (at least in WMQI 2.1 they do).
Back to top
View user's profile Send private message
Miriam Kaestner
PostPosted: Mon Dec 17, 2001 3:41 am    Post subject: Reply with quote

Centurion

Joined: 26 Jun 2001
Posts: 103
Location: IBM IT Education Services, Germany

...and in WMQI 2.1 the MQOutput node writes information on the message(s) sent to LocalEnvironment.WrittenDestination
Any downflow node can access this information.
Back to top
View user's profile Send private message Send e-mail
bmccarty
PostPosted: Wed Dec 19, 2001 12:10 pm    Post subject: Reply with quote

Apprentice

Joined: 18 Dec 2001
Posts: 43

With WMQI 2.1 you can also write your own custom plug-in nodes in Java or C. In this way you could create one where you can define as many output terminals as you like that writes data or messages to anywhere such as a directory or FTP site or log file.

You could even set some Message Flow specific parameters to take level of logging like 1,2 or 3 depending on the detail that you want outputed.

If you want some example code let me know and I will post it.
Back to top
View user's profile Send private message AIM Address MSN Messenger
MVO
PostPosted: Wed Dec 19, 2001 12:26 pm    Post subject: Reply with quote

Centurion

Joined: 09 Sep 2001
Posts: 131

thanks all for your help. Yes, I would appreciate some sample codes.
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 » Wish list: an output terminal for MQOutput 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.