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 » User Exits » QM & Channel level exits

Post new topic  Reply to topic
 QM & Channel level exits « View previous topic :: View next topic » 
Author Message
masteringmq
PostPosted: Fri Dec 05, 2008 12:43 am    Post subject: QM & Channel level exits Reply with quote

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
View user's profile Send private message
Mr Butcher
PostPosted: Fri Dec 05, 2008 1:11 am    Post subject: Reply with quote

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
View user's profile Send private message
masteringmq
PostPosted: Fri Dec 05, 2008 1:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Dec 05, 2008 1:55 am    Post subject: Reply with quote

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
View user's profile Send private message
Mr Butcher
PostPosted: Fri Dec 05, 2008 2:19 am    Post subject: Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Fri Dec 05, 2008 3:17 pm    Post subject: Re: QM & Channel level exits Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
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
View user's profile Send private message Visit poster's website
masteringmq
PostPosted: Fri Dec 05, 2008 8:38 pm    Post subject: Reply with quote

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
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 » User Exits » QM & Channel level exits
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.