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 » contextReference problem

Post new topic  Reply to topic
 contextReference problem « View previous topic :: View next topic » 
Author Message
marco
PostPosted: Wed Aug 31, 2005 3:40 am    Post subject: contextReference problem Reply with quote

Apprentice

Joined: 16 Feb 2004
Posts: 46

Hi,

I 've created an input node in java to be able to read the Q to be opened from a database.
Everything works perfect.
The only thing bothering me is that when I put the message on a queue (through a normal MQOutput node)
the options of the output node need to be changed to "set all" (for the Message Context).
When I leave this setting to the standard "pass all" I always get an error 2097 (context handle).

Some experimenting an asking around, learned that the problem lies in the MQPutMessageOptions.
The pmo has a member called contextReference that should be set to the handle of the inputQueue.

How can I do this ?

The outputnode has to pick it up somewhere, but where ?

In C, there is no contextReference field, should I rewrite the node in C ?



Any help/suggestions would be greatly appreciated


Tx
Back to top
View user's profile Send private message
JULLRICH
PostPosted: Sat Sep 10, 2005 7:33 am    Post subject: Re: contextReference problem Reply with quote

Apprentice

Joined: 11 Aug 2005
Posts: 42
Location: München

Hello,

please have a look at this link:
http://www-306.ibm.com/software/integration/mqfamily/library/manualsb/amqqag00/amqqag001o.htm




For me its interesting to find out how to get this informations (UserIdentifier, AccountingToken, ApplIdentityData, PutApplType,
PutApplName, ApplOriginData) when the message is generated inside of the Flow using an PlugInNode like the description above.
I do not want to create this informations by setting the parameter 'message context' to 'set all' in the output node because other messages not generated inside of the flow gets this informations too!



Regards
Jens
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 » WebSphere Message Broker (ACE) Support » contextReference problem
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.