Author |
Message
|
mhashkhan |
Posted: Wed Nov 27, 2013 10:46 pm Post subject: Logging of messages coming VIA SVRCONN |
|
|
 Apprentice
Joined: 01 Dec 2008 Posts: 28
|
I want to enable logging for messages that are posted by clients connecting to my MQ server via SVRCONN.
Is there any way provided by IBM or it should be an exit?
if it has to be exit, any sample? |
|
Back to top |
|
 |
PaulClarke |
Posted: Thu Nov 28, 2013 3:55 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
What exactly do you want to do ? Duplicate every message coming from any of your clients ? Might be worth explaining a little more about the problem you are trying to solve rather than just jump in with a solution.
Anyway, MQ doesn't come with a built-in way of duplicating every message. It's quite trick to do this in a channel exit and I don't think I suggest you try it. You could do it in an API exit if those are available to you. You could, of course, also do it in the receiving application if it logs every request it received. For example, you could 'target' a logging application which forwards two messages, one that is logged and one that is processed. A very trivial form of this can be done with SupportPAc MA01. And of course you could do it in something like Broker.
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
exerk |
Posted: Thu Nov 28, 2013 4:07 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
PaulClarke wrote: |
Anyway, MQ doesn't come with a built-in way of duplicating every message. |
What? Not even if you do THIS?  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
PaulClarke |
Posted: Thu Nov 28, 2013 4:30 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
I would argue that that is NOT duplicating the message. You can convert a putting application into a publishing application using a topic alias but there are ramifications. Are you saying that you are advocating one of those solutions for this case ? _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
exerk |
Posted: Thu Nov 28, 2013 4:59 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
PaulClarke wrote: |
I would argue that that is NOT duplicating the message... |
And I do not disagree...
PaulClarke wrote: |
...Are you saying that you are advocating one of those solutions for this case ? |
No, I'm not advocating it, I'm just stating that it's a consideration depending on the actual requirement, of which we know very little. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
gbaddeley |
Posted: Thu Nov 28, 2013 2:21 pm Post subject: Re: Logging of messages coming VIA SVRCONN |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
mhashkhan wrote: |
I want to enable logging for messages that are posted by clients connecting to my MQ server via SVRCONN.
Is there any way provided by IBM or it should be an exit?
if it has to be exit, any sample? |
IBM SupportPac MA0Z provides a channel logging capability that can be used on SVRCONN channels.
http://www.ibm.com/support/docview.wss?uid=swg24022993 _________________ Glenn |
|
Back to top |
|
 |
|