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 » Can Channel exits be operated on selected messages?

Post new topic  Reply to topic
 Can Channel exits be operated on selected messages? « View previous topic :: View next topic » 
Author Message
eswarnv
PostPosted: Thu Nov 27, 2003 11:13 pm    Post subject: Can Channel exits be operated on selected messages? Reply with quote

Voyager

Joined: 20 Dec 2001
Posts: 88

Hi

My Scenario,

I have DQM implementation(one sender/receiver on both the queue managers) in my application. One of the message which goes to target qmgr carries "PASSWORD" . I want to encrypt/decrypt only this message, not all messages.

How can I achieve this? If I write a channel exit, can I make that channel exit operates on only selected messages.

Any ideas please respond.

Many Thanks
Eswar
Back to top
View user's profile Send private message
MichaelR
PostPosted: Fri Nov 28, 2003 8:32 am    Post subject: Reply with quote

Apprentice

Joined: 20 May 2002
Posts: 37
Location: Tampa

Assuming you are using the same channel to transport different types of messages, you would have to build logic in the exit to make the determination to encrypt. You should then have the Exit modify a byte in the TSH to indicate the message has been encrypted. This byte would trigger the de-encryption process on the receiving side. The Intercommunication Guide discusses this approach.

Alternatively, you could define a channel exclusively for this message type and configure this channel with the exit. Routing to the channel would be "managed" by the XMITQ value on the QRemote definition.

MichaelR
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 » Can Channel exits be operated on selected messages?
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.