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 » Are Message Channel Exit programs suitable?

Post new topic  Reply to topic
 Are Message Channel Exit programs suitable? « View previous topic :: View next topic » 
Author Message
TKiranKumar
PostPosted: Fri May 14, 2004 5:28 am    Post subject: Are Message Channel Exit programs suitable? Reply with quote

Novice

Joined: 14 May 2004
Posts: 15

Hi ,
I need to provide security of message flowing between 2 applications communicating via MQ.
The Second application is Third party software.
If I encrypt a message and put it on the remote queue, I need the corresponding decryption to happen ONLY when the Third Party application picks up the message from its local queue. The local queue must till then contain encrypted messages.
Are exit programs suitable for such a solution, in particular Message channel exits?
if not , Is there any MQ based solution.

Regards,
Kiran
Back to top
View user's profile Send private message
mqonnet
PostPosted: Fri May 14, 2004 6:14 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Take a look at the manuals giving all the details that you are looking for. Security, Intercommunication and programming ref/guide will together give you all the info.

Whenever you want to encrypt/decrypt, it is always a two way process, as the name itself suggests. Which would mean, your side doing the encryption and the other side doing the decryption. Now in your case, if the encrypted message is not decrypted and stored "as is" on the local queue by the MCA, then it would become the responsibility of the 3rd party app to decrypt it. Does the 3rd party app do that??? Do you know what structures they use and their decrypting algo for you to be able to encrypt at your end. If the answer for this is NO, then i am afraid there is no way you can design this.

The only way is to use send-receive exits, which would provide you with the encryption and decryption on the channel. And the message is decrypted by the receive exit on the receiving mca before it puts the message onto the queue.

You may try api exits, but again, there's whole lot of complexity in your particular case when using a 3rd party tool at the other end.

Cheers
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
TKiranKumar
PostPosted: Fri May 14, 2004 6:58 am    Post subject: Reply with quote

Novice

Joined: 14 May 2004
Posts: 15

Thanks a lot for that really fast reply.
It gave me the exact information I was looking forward for.

Thanks again.

Regards,
Kiran
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri May 14, 2004 7:08 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Kumar & Kiran -
Send/Receive and Message exits only apply for messages moving across channels, and do not encrypt messages sitting on queues.

In order to have messages that are encrypted on the queue, but decrypted to the appropriate application (and not *by* the appropriate application), you will have to use an API exit.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mqonnet
PostPosted: Fri May 14, 2004 7:15 am    Post subject: Reply with quote

Grand Master

Joined: 18 Feb 2002
Posts: 1114
Location: Boston, Ma, Usa.

Thanks Jeff.

Looks like you summed up in 2 lines what i said in 10. :)

Cheers
Kumar
_________________
IBM Certified WebSphere MQ V5.3 Developer
IBM Certified WebSphere MQ V5.3 Solution Designer
IBM Certified WebSphere MQ V5.3 System Administrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website
TKiranKumar
PostPosted: Sun May 16, 2004 2:24 am    Post subject: Thanks Reply with quote

Novice

Joined: 14 May 2004
Posts: 15

Hi Jeff and Kumar,
Thanks a lot. You guys have shown me the direction I require.

Thanks and Regards,
Kiran
Back to top
View user's profile Send private message
TKiranKumar
PostPosted: Sun May 16, 2004 3:05 am    Post subject: Take a look at another post of mine Reply with quote

Novice

Joined: 14 May 2004
Posts: 15

Hi Jeff,
Please take a look at another post of mine. The description of the issue "Looks huge" but it is a small configuration issue ...I feel.
Your inputs are definelty , along with Mr Kumar's, very handy.

Regards,
Kiran
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 » Are Message Channel Exit programs suitable?
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.