|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Initiating DSMQ Channel Exits from Java |
« View previous topic :: View next topic » |
Author |
Message
|
PFranklin |
Posted: Wed Jan 29, 2003 3:58 am Post subject: Initiating DSMQ Channel Exits from Java |
|
|
Newbie
Joined: 29 Jan 2003 Posts: 1
|
I am currently working on an MQ implementation connecting from a client running on NT or LINUX to OS/390. The channel(s) are secured using Primeur DSMQ
I can write messages to queues when I use the standard amqsputc client with a Channel Definition Table but I am having a bit of trouble setting one up with Java (I need to be able to use MQMD headers and we have a basic Java client that does this for non-DSMQ secured connections so this appeared to be an obvious starting point and its portable between NT and LINUX)
I have read many of the posts on setting up Channel Definitions/Exits in the code but I'm slightly puzzled on how to set up my definitions which are as follows :
Client Connection
Security Exit name : /var/mqm/dsmqpps/bin/mqppsx.so(SCYEXIT) << actual security module
Security Exit data : /var/mqm/dsmqpps/bin/mqppsx.ini << configuration file
I'm assuming that I don't need to worry about the Server Connection on the Java side since that is in place
All the examples I have seen just show one parameter being used for calling security exits but it looks like I need two in this case
Any ideas would be appreciated
Thanks |
|
Back to top |
|
 |
kingdon |
Posted: Wed Jan 29, 2003 8:09 am Post subject: |
|
|
Acolyte
Joined: 14 Jan 2002 Posts: 63 Location: UK
|
The Java client expects the exits to be written in Java, not provided as native libraries. It would be worth checking whether Primeur include a Java security exit in their product. If not, you may be able to wrapper their exit with a Java layer that calls down through JNI.
Regards,
James. |
|
Back to top |
|
 |
David.Partridge |
Posted: Wed Jan 29, 2003 9:17 am Post subject: |
|
|
 Master
Joined: 28 Jun 2001 Posts: 249
|
Hi there,
As James says, you need specific java versions of the exits to talk to a server running our DSMQ software.
By a happy coincidence <GRIN> we have already developed Java exits for DSMQ, which interface to our base DSMQ functionality using JNI.
These are available for Windows, and most common Unix systems at present.
Please feel free to contact me offline
Cheers
David C. Partridge
Security Products Manager
Primeur Group
Tel: +44 (0)1926 511058
Mobile: +44 (0)7713 880197
em: david.partridge@primeur.com |
|
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
|
|
|
|