Hello Dan,
Thank you very much for your tip. This will work well. May
be except the component invoked by database trigger. [ ]
By the way, the following code doesn’t work properly.
cCRM = new BrokerClient(broker_host, broker_name, null,
client_group_crm, “CRM control”, null);
String DOC_TEST =
“Creditor::CRM::Canonical::Policy::publishPolicyDetails”;
String strChk = new String[100];
strChk=cCRM.getCanSubscribeNames();
for (int i=0; i<strChk.length;i++)
if (strChk[i].equals(DOC_TEST))
System.out.println ("Yes exist " + strChk[i].toString());
if (cCRM.canSubscribe(DOC_TEST))
cCRM.cancelSubscription(DOC_TEST,null);
======== output ================================
Yes exist
Creditor::CRM::Canonical::Policy::publishPolicyDetails
Invalid Subscription (216-1313): Cannot cancel the requested
subscription because it does not exist.
May be I am using wrong methods. Aren’t I?
Thanks - Keon
#webMethods#broker#Universal-Messaging-Broker#Integration-Server-and-ESB