I have to write a consumer code to read messages from Websphere MQ. For that I have installed websphere server, which gives me the MQ Explorer thick client. Please find the attachment for the same.
Now for my consumer side connection, I need the username and password. I have read many forums and IBM docs to understand that Admin Console is the place from where I can create a user. But where do I find it? The connection details are with tcp, 1414 port. How do I connect to it? PFA for it.
Or there is some other installation required for it? When I try to install client, it says Server is already installed, so server is there for sure. But I did not get any of the properties files (portdefs.props is also not there) to find these details.
System details : Windows 7
Profile : Admin
Installed Software Name : WebSphere MQ V7.0.1 for Windows-CZ4V6ML
For the time being, I found following piece of code which helps me connect and read the data...
[code=java]
[color=blue]MQQueueConnectionFactory connectionFactory = new MQQueueConnectionFactory();
connectionFactory.setChannel(channel_);
connectionFactory.setHostName(hostname_);
connectionFactory.setPort(port_);
connectionFactory.setQueueManager(queueManager_);
connectionFactory.setTransportType(1);
connectionFactory.setSSsetSSLCertStores(arg0)