Author |
Message
|
masteringmq |
Posted: Fri Dec 05, 2008 12:43 am Post subject: QM & Channel level exits |
|
|
Master
Joined: 20 Oct 2008 Posts: 200
|
There are two types of exits. One is the queue manager exits and the other is the channel exits. I came up with an executable file and this will be used as a channel exits. On my sender channel I specify the exe in the attribute MSGEXIT and I specify the initiation file in MSGDATA. This executable file is designed to create a copy of the message put on the channel and route the duplicate message to the brokers. Now this works perfectly well. Is there any reading resouces that will tell me clearly what type of exits can I built for the queue manager or channel level?. |
|
Back to top |
|
|
Mr Butcher |
Posted: Fri Dec 05, 2008 1:11 am Post subject: |
|
|
Padawan
Joined: 23 May 2005 Posts: 1716
|
all about the channel exits is documented in the intercommunication guide. Other exits are described in the proper manual (e.g. the mq cluster workload exit in the queue manager clusters manual) _________________ Regards, Butcher |
|
Back to top |
|
|
masteringmq |
Posted: Fri Dec 05, 2008 1:25 am Post subject: |
|
|
Master
Joined: 20 Oct 2008 Posts: 200
|
I came up with a security exit that will check the userid and password of a message. So I plan to specify this security exit at a queue manager level. To conclude, it very much depends on what the exit is going to do. Some self built exit will be used at a queue manager level and others at the channel level. |
|
Back to top |
|
|
Vitor |
Posted: Fri Dec 05, 2008 1:55 am Post subject: |
|
|
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
masteringmq wrote: |
I came up with a security exit that will check the userid and password of a message. |
Is the password included in a message?
Firstly, you may be reinventing a wheel here - this functionality is available in a number of commercial sources or from SSL.
Secondly, be aware that exits are considered an advanced topic. A poorly written exit can at best reduce queue manager performance to nothing, and at worst bring the queue manager over in a heap.
Just be cautious. _________________ Honesty is the best policy.
Insanity is the best defence.
Last edited by Vitor on Fri Dec 05, 2008 3:38 am; edited 1 time in total |
|
Back to top |
|
|
Mr Butcher |
Posted: Fri Dec 05, 2008 2:19 am Post subject: |
|
|
Padawan
Joined: 23 May 2005 Posts: 1716
|
Quote: |
I came up with a security exit that will check the userid and password of a message. So I plan to specify this security exit at a queue manager level |
i am not sure if i understand this correctly, if this is a channel message exit or a channel security exit, then you have to specify it in the channel configuration - for every channel that you want to use this exits.
you can not specifiy it at queuemanager level to be used for all channels. _________________ Regards, Butcher |
|
Back to top |
|
|
RogerLacroix |
Posted: Fri Dec 05, 2008 3:17 pm Post subject: Re: QM & Channel level exits |
|
|
Jedi Knight
Joined: 15 May 2001 Posts: 3258 Location: London, ON Canada
|
masteringmq wrote: |
There are two types of exits. One is the queue manager exits and the other is the channel exits. |
I think you should read the WMQ Intercommunication manual.
A queue manager can have:
- API Exit
- Cluster WorkLoad Exit
- Channel Auto-Definition Exit (aka CHAD)
- Installable Services (i.e. add to or replace OAM)
A Server-side channel (at queue manager) can have:
- Channel Security Exit
- Channel Message Exit
- Channel Send Exit
- Channel Receive Exit
A client-side channel can have:
- Channel Security Exit
- Channel Send Exit
- Channel Receive Exit
masteringmq wrote: |
I came up with an executable file and this will be used as a channel exits. |
Say what! You cannot use an executable file in an exit. It must be a DLL on Windows or Shared Library on Linux / Unix.
Regards,
Roger Lacroix
Capitalware Inc. _________________ Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter |
|
Back to top |
|
|
masteringmq |
Posted: Fri Dec 05, 2008 8:38 pm Post subject: |
|
|
Master
Joined: 20 Oct 2008 Posts: 200
|
According to the implementation manual at my working place, MSGEXIT attribute of a channel uses an executable value. This executable is built in house. |
|
Back to top |
|
|
|