I want to connect to a WSMQ queue (running on a server outside of my company network) from a JBoss AS server (5.1) using the resource-adapter supplied by Websphere MQ (7).
I set up a connection factory and want to configure it to use our proxy-server, which is needed to connect to a machine outside the network. Our proxy-server requires authentication.
I found the (MQConnectionFactory
) properties proxyHostName
and proxyPort
but no means to add authentication (username / password).
The Java properties http.proxyHost
etc. don't make any difference, which makes sense since JMS doesn't use http.
Configuring the socksProxyHost
, socksProxyPort
, java.net.socks.username
and java.net.socks.password
properties also has no effect.
I'm at a loss here, how can I connect from JBoss AS to a remote WSMQ queue using a proxy server which requires authentication?