|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQSeries Exits...... |
« View previous topic :: View next topic » |
Author |
Message
|
PS |
Posted: Fri Aug 31, 2007 1:28 am Post subject: MQSeries Exits...... |
|
|
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 |
|
 |
zpat |
Posted: Fri Aug 31, 2007 1:32 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Are Java exits supported? - seems unlikely. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Aug 31, 2007 2:07 am Post subject: Re: MQSeries Exits...... |
|
|
 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 |
|
 |
David.Partridge |
Posted: Wed Sep 05, 2007 3:34 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|