brokerClientId

hi
I’m working for migration proj,in this we’re migrated our code into 4.x to 6.1 using upgrade utility,now we are imported those packages into 6.5.

In one of the java service having this code:

// — ( Manual Task: Convert EI Java code )—
//
// generateAppIdMethod$out out = new generateAppIdMethod$out();
// out.app_id = brokerClient.getClientId();
// return out;
//
// IDataCursor pipelineCursor_1 = pipeline.getCursor();
// IDataUtil.put( pipelineCursor_1, “app_id”, app_id );
// pipelineCursor_1.destroy();

for this code what i’ve to do.
are there packages to import or any changes in the code.
It has no inputs, only the ouput is app_id.
I never used broker API, plz give me the solution for this.

Thanks

Hi Raghu,
try to refer to the Broker API where u can find all the classes and interfaces realted to Broker. I think brokerClient class has been explained in detail with all its submethods and their functionalities.

Fany

IMO, the integration should be refactored to eliminate the use of the broker client ID as the app_id. If app_id is needed for some purpose it should be created/managed using some mechanism other than the broker client ID.