Hi,
Thanks a lot for your suggestion.
We were able to resolve our problem.
and had to make two changes in our application.
First
Instead of using
COMSBrokerClient = COMSBrokerClient.newOrReconnect(cHost, brokerName, userId, clientGroup, “COMSJavaClient”, new BrokerConnectionDescriptor());
to create a BrokerCLient now we are using this method
COMSBrokerClient = new BrokerClient(cHost, brokerName,“”,clientGroup,“COMSJavaClient”, new BrokerConnectionDescriptor ());
Second
In webMethods
Instead of publish step in Integration Component we are usig output step.
These two changes solved our problem but Performance has been hit.
May be if you could suggest some other way , It would be a great help.
Here are the answers to your queries
I assume the client is publishing and event. Is it expecting
a reply? In other words, is it calling
publishRequestAndWait?
Yes,Client is publishing an event and we are using publish() to do that
objEvent = new BrokerEvent(COMSBrokerClient, userEvent);
objEvent.setTag(COMSBrokerClient.makeTag());
COMSBrokerClient.publish(objEvent);
where “COMSBrokerClient” is the client we created using BrokerClient()
and “userEvent” is the document we publish
Is the published event configured to deliver a reply or
publish it? If publish, the reply will go to all subscribers
and publishRequestAndWait won’t work.
Earlier we were using publish in webMethods however after
this problem we are using an output step in webMethods
which has solved our problem.
Is each instance of the broker client connecting to the
broker getting its own queue? If not, replies for publishes
from all clients will be intermingled in the single shared
queue.
Since each connection was unique, each Broker was getting its own queue.
Thanks
#broker#webMethods#Integration-Server-and-ESB#Universal-Messaging-Broker