|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
contextReference problem |
« View previous topic :: View next topic » |
Author |
Message
|
marco |
Posted: Wed Aug 31, 2005 3:40 am Post subject: contextReference problem |
|
|
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 |
|
 |
JULLRICH |
Posted: Sat Sep 10, 2005 7:33 am Post subject: Re: contextReference problem |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|