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 » Initiating DSMQ Channel Exits from Java

Post new topic  Reply to topic
 Initiating DSMQ Channel Exits from Java « View previous topic :: View next topic » 
Author Message
PFranklin
PostPosted: Wed Jan 29, 2003 3:58 am    Post subject: Initiating DSMQ Channel Exits from Java Reply with quote

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
View user's profile Send private message
kingdon
PostPosted: Wed Jan 29, 2003 8:09 am    Post subject: Reply with quote

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
View user's profile Send private message
David.Partridge
PostPosted: Wed Jan 29, 2003 9:17 am    Post subject: Reply with quote

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
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 » Initiating DSMQ Channel Exits from Java
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.