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 » IBM MQ Java / JMS » MQSeries Exits......

Post new topic  Reply to topic
 MQSeries Exits...... « View previous topic :: View next topic » 
Author Message
PS
PostPosted: Fri Aug 31, 2007 1:28 am    Post subject: MQSeries Exits...... Reply with quote

Newbie

Joined: 14 Jun 2007
Posts: 9

I want to implement some user exit to provide channel security.
Can any one please provide me some JAVA sample codes from where I can get an idea of the actual implementations....
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Aug 31, 2007 1:32 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Are Java exits supported? - seems unlikely.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Aug 31, 2007 2:07 am    Post subject: Re: MQSeries Exits...... Reply with quote

Grand High Poobah

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

PS wrote:
I want to implement some user exit to provide channel security.


There are a number of commercial solutions that achieve this. Exits are an advanced topic and should be written with care (see other discussions on the forum about this).

PS wrote:

Can any one please provide me some JAVA sample codes from where I can get an idea of the actual implementations....


Exits in Java are not supported. I understand there's no JVM environment for them to run in.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
David.Partridge
PostPosted: Wed Sep 05, 2007 3:34 am    Post subject: Reply with quote

Master

Joined: 28 Jun 2001
Posts: 249

Java MQ channel exits are supported.

But only for Java Client.

If you want to use MQ channel exits at the server, then you need to write 'em in 'C' for the distributed platforms, and BAL (assembler), Systems Programming C, or PL/X on MVS (aka OS/390, aka z/OS). It is possible to write the exits in other languages, but these are the supported ones.

Some vendors write their MVS channel exits in C and use assembler stubs to create a persistent C environment.

I do know of one person who did write server side channel exits in C that started/located a persistent JVM and then called into Java stuff, but this is definitely unsupported, and is very hard to get working. Furthermore, the performance was pretty dreadful, and I wouldn't even like to think about how you might do this on MVS.

Java Channel Exits are discussed (though not at length) in the reference section of the Using Java manual for the Java Client exits, and the "normal" Channel Exits are discussed in the Intercommunication manual.

I re-iterate comments that writing MQ exits of any form is not for the faint hearted, and you should only test them (particularly the API exits) on a QM that you are prepared to sacrifice, and preferably on a box where there are no other QMs that you are concerned about.

Be prepared to do a lot of dump reading, MQ tracing, and similar.

Cheers
Dave
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 » IBM MQ Java / JMS » MQSeries 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.