my enviroment below:
1) my program(service) is running on client (192.168.84.46)
2) MQ Server is on server (192.168.84.202(1416))
my programming tool : VC
What I want :
my service is focusing on sending & receiving messages from MQ server and do some processes, but I can't find how to set ImqQueueManager object.
My code:
Code:
ImqQueueManager qmgr;
'==============================
'Question here, system will find the parameter in
'setName() and try to get whether there is one
'queue manager on local machine.
qmgr.setName("");
'==============================
if(qmgr.connect())
{
ImqQueue *pqueue=new ImqQueue;
pqueue->setConnectionReference(qmgr);
int l_message=pqueue->currentDepth();
return 0;
}
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