|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQMD header and FTEOutput node |
« View previous topic :: View next topic » |
Author |
Message
|
sudaltsov |
Posted: Fri Apr 07, 2023 6:46 am Post subject: MQMD header and FTEOutput node |
|
|
Voyager
Joined: 02 May 2012 Posts: 82
|
Is there any way to setup MQMD headers (I am interested in User Id) to be used by FTEOutput node? In the documentation, I see nothing relevant. And trying to set OutputRoot.MQMD.UserIdentifier does not seem to work...
That is needed for overriding sftp user id used by the bridge agent. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Apr 07, 2023 9:59 am Post subject: Re: MQMD header and FTEOutput node |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
sudaltsov wrote: |
does not seem to work... |
More explanation, please. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
sudaltsov |
Posted: Fri Apr 07, 2023 10:17 am Post subject: Re: MQMD header and FTEOutput node |
|
|
Voyager
Joined: 02 May 2012 Posts: 82
|
bruce2359 wrote: |
More explanation, please. |
The MQFTE transfers seem to ignore that setting - it is still using the account specified in the MQFTE bridge agent configuration, not the account that we put into OutputRoot.MQMD.UserIdentifier |
|
Back to top |
|
 |
hughson |
Posted: Tue Apr 11, 2023 2:31 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
I know nothing about the FTEOutput node, but I do know that when calling the MQ API to put a message, the contents of the MQMD UserIdentifier are ignored and over-written by the context of the application doing the put UNLESS you specify MQPMO_SET_ALL_CONTEXT (or MQPMO_SET_IDENTITY_CONTEXT). Are there any settings in the FTEOutput node that sound like that?
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
sudaltsov |
Posted: Tue Apr 11, 2023 3:17 am Post subject: |
|
|
Voyager
Joined: 02 May 2012 Posts: 82
|
hughson wrote: |
I know nothing about the FTEOutput node, but I do know that when calling the MQ API to put a message, the contents of the MQMD UserIdentifier are ignored and over-written by the context of the application doing the put UNLESS you specify MQPMO_SET_ALL_CONTEXT (or MQPMO_SET_IDENTITY_CONTEXT). Are there any settings in the FTEOutput node that sound like that? |
It seems the issue is not with MQMD as such but with the fact that destination user id is configured once and for all for the bridge agent (in the credentials xml). And it is not overridable by design... |
|
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
|
|
|
|