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 » WebSphere Message Broker (ACE) Support » WBIMB 5 bypassing MQ API-exit?

Post new topic  Reply to topic
 WBIMB 5 bypassing MQ API-exit? « View previous topic :: View next topic » 
Author Message
billybong
PostPosted: Fri Nov 18, 2005 5:15 am    Post subject: WBIMB 5 bypassing MQ API-exit? Reply with quote

Disciple

Joined: 22 Jul 2005
Posts: 150
Location: Stockholm, Sweden

Hi all!

I've developed an API exit based on the mirrorq example code found at
http://www.developer.ibm.com/isv/tech/sampmq.html

If I'm putting messages straight from any other application except the broker the messages are being copied as they should. It even mirrors internal MQ applications such as the MCA.
But when I use a broker flow to produce messages instead, I dont get any copies. Does anyone know why? It seems as the broker bypasses the exit and puts the message in some other way.
Back to top
View user's profile Send private message Visit poster's website
billybong
PostPosted: Fri Nov 18, 2005 7:19 am    Post subject: Reply with quote

Disciple

Joined: 22 Jul 2005
Posts: 150
Location: Stockholm, Sweden

I've traced the error down to the line:

pmo.Options|=MQPMO_SET_ALL_CONTEXT

If I remove it, everything works fine.
Is there any context that the broker sets that could mess this up?
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WBIMB 5 bypassing MQ API-exit?
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.