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 » General Discussion » Why are channels exits used

Post new topic  Reply to topic
 Why are channels exits used « View previous topic :: View next topic » 
Author Message
ankurlodhi
PostPosted: Wed Sep 21, 2011 5:58 am    Post subject: Why are channels exits used Reply with quote

Master

Joined: 19 Oct 2010
Posts: 266

I hurd of channel exits, channel security exits, i read about them,
i understand that they are for security , but i am still confused,

what is a channel exit program in simple words ? what does it do.

and where is it suitable to use a channel exit program.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Sep 21, 2011 6:29 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Read the WMQ Intercommunications manual.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 21, 2011 6:30 am    Post subject: Re: Why are channels exits used Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ankurlodhi wrote:
what is a channel exit program in simple words ? what does it do.


It's an exit program called by the channel MCA at defined points in the processing. It does whatever it's coded to do, like any program. Like most exits (not just WMQ ones) there are strict rules concerning them.

To preempt your next post, the same is true of the other WMQ exits.

ankurlodhi wrote:
where is it suitable to use a channel exit program.


It's only possible to use exits where the software calls them.

If you meant when is it suitable to use them, one good answer is "only when you've tried everything else"; another is "when you've bought them from someone who provides support". Exits are an advanced topic; a badly written exit will reduce the effectency and throughput of your WMQ system. An incorrectly written exit will bring your WMQ system down in flames.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ankurlodhi
PostPosted: Wed Sep 21, 2011 6:48 am    Post subject: Reply with quote

Master

Joined: 19 Oct 2010
Posts: 266

hmmm ok, right now i am working on my basics a bit more, i guess i will give it a try when i will get done with my current role of implementaion of MQ 7 on some servers. everyone is saying its a rare opertunity, to setup servers by your own hands.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 21, 2011 7:03 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ankurlodhi wrote:
everyone is saying its a rare opertunity, to setup servers by your own hands.


I think "everyone" is trying to make you feel better.

You will find as you go through your WMQ career that this oppertunity is not as rare as all that.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
ankurlodhi
PostPosted: Wed Sep 21, 2011 10:49 am    Post subject: Reply with quote

Master

Joined: 19 Oct 2010
Posts: 266

hmmm but its a gud. experience to move forward, i get to learn many things atleast,

I read those things which would seem boring to me, if it would have been just because of no reason.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Thu Sep 22, 2011 4:46 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

An exit is a place in IBM-supplied code that allows for additional code (user-written or vendor-supplied) to be executed that can alter the default behavior of the IBM code.

As documented in the WMQ Intercommunications manual, there are a few exit-points available in the MCA code. A search here will yield information from other posts as to some of the functions that others have implemented in channel exits.

One such use would be (for auditing purposes) to capture to a file the messages sent across an MQ channel.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
ankurlodhi
PostPosted: Thu Sep 22, 2011 5:21 am    Post subject: Reply with quote

Master

Joined: 19 Oct 2010
Posts: 266

Thanks for the explanintion bruce.

now i understand it better.
Back to top
View user's profile Send private message
SAFraser
PostPosted: Sun Sep 25, 2011 8:10 am    Post subject: Reply with quote

Shaman

Joined: 22 Oct 2003
Posts: 742
Location: Austin, Texas, USA

Another common use is a channel exit that, upon a connection attempt, calls an executable that tests the connection attempt against values you have configured. I believe the most common implementation of this is a utility called BlockIP2, written and maintained (as freeware) by a few wonderful admins in Europe. Google it to learn more.

You are right, you do have a good opportunity to learn MQ by building (rather than just reading). Good luck.

(You did find the MQ Primer out in Redbooks, I hope? It's old but it is such a good overview for a newbie.)
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sun Sep 25, 2011 4:35 pm    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Capitalware (usual disclaimer) offers channel exits of interest. I've recommended them to clients.

Go here http://www.mqseries.net/phpBB2/viewtopic.php?t=54253&sid=1313adaedf6c98b062a3d95382089b50 and look for the post by RogerLacroix.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
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 » General Discussion » Why are channels exits used
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.