|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Channel Exit Prevents Listener Starting Channel |
« View previous topic :: View next topic » |
Author |
Message
|
RobP |
Posted: Fri Nov 23, 2007 9:20 am Post subject: Channel Exit Prevents Listener Starting Channel |
|
|
Newbie
Joined: 08 Nov 2007 Posts: 6
|
Good day,
I have a very simple test environment on a windows box. I have one QM with a local queue and a reciever channel and i have a second QM with a remote queue definition, transmission queue and sender channel. These communicate fine normally.
I am testing a Channel Message exit on the reciever channel. It does the very simple task of changing the persistence on the incoming message.
When the exit is specified for the Channel, the listener does not automatically start the channel when the sender attempts to connect (as it would without the exit specified). However if i manually start the reciever channel (using MQExplorer) the messages flow freely (with the exit doing as it should).
I am trying to understand why specifying the exit prevents the channel from being automatically started and whether this can be rectified.
I did do some searching around the web and forums, but found nothing pertaining to this (though it always seems hard to ask the right question to get the answer you want)
Thanks in advance |
|
Back to top |
|
 |
Michael Dag |
Posted: Sat Nov 24, 2007 12:16 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
by no means am I an 'exit' specialist, but it does sound like the exit has something to do with it...
what platform are you running on and which version(s) of MQ are involved?
did you develop this exit yourself?
is it working somewhere else?
for starters... _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
Nigelg |
Posted: Mon Nov 26, 2007 12:20 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
The AMQERR??.LOG file on the RCVR side should contain an error msg detailing why the channel failed to start. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
JosephGramig |
Posted: Mon Nov 26, 2007 5:04 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
Yep, I use the MS0R security exit and it works. This has something to do with this specific exit. Check the error log on the receive and see if it says anything about paths.
In UNIX, when you create the QMGR the default path stanzas will be added with a '/' at the end of the path and it should not be there. It caused my exits not to start unless I fully qualified the path. _________________ Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3 |
|
Back to top |
|
 |
RobP |
Posted: Tue Nov 27, 2007 1:33 pm Post subject: |
|
|
Newbie
Joined: 08 Nov 2007 Posts: 6
|
Apologies for my belated response,
I am ashamed to say i think it was a school-boy error on my part. I think i mistakenly had the receiver channel in a Stopped state at random points when testing. If I'm not mistaken the listener wouldn't start the channel from this state. I did check it with and without the exit multiple times and it appeared to only have problems when the exit was in use, but i suspect the sequence of commands i issued each time were the same, resulting in this apparent fault with the exit. coming to it afresh today with clearer thoughts of what I'm doing and i see consistent behavior both with and without the exit and all's well in MQ land
Short Answer, user error.
Thank you for your help and I'm sorry for wasting your time. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|