MQ connectivity with authentication
Hi All,
Just wondering if anyone had got this working.
In the documentation it says to set the username and password properties of the connection object but these properties don't exist and without authentication I can't connect to the MQ queue.
Any help would be greatly appreciated,
Dave Moss
Comments
Dave, please tell us which bit(s) of the documentation you're referencing. Ideally, hyperlink to the copy rooted at https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls
https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=GNET_mq#GNET_mq_connection
I am using MQ series adapter.
I have installed the MQ client.
Now I am getting an authentication error back error code 2035 from websphere
Dave, where did you end up with this?
I have a customer who is also looking for support for MQ Series queues with authentication
Thx
André
Has anybody happened to get MQ inbounds working with explicit authentication? I have a need to talk to different queues with different credentials across environments and the limitation of the using the os user running the process is inhibiting it.
There is a tiny blurb about setting the credentials object on the adapter, but maybe I am not implementing it correctly as designed.
I basically copied the adapter class, and tried to use the ..CredentialsSet method which points to a standard Ens credential on the system with username and password.
{
Set tSC = ..InitQueue()
Set tSC = ..CredentialsSet("mq")
If $$$ISERR(tSC) Set ..%initQueueNeeded = 1
#; Do not prevent job starting if cannot initialise on connection.
#; If still error initialising in first poll it will be reported in the event log and available for Alert on Error
Quit $$$OK
}
No luck here, if anybody can help me out, it would be appreciated!