Monday, September 10, 2018

How To Connect To Integration Node/Broker from Java IBM Integration API - How To Override the UDP Using Java Integration API

Ok lets get to the work.

We are going to use the Integration API to achieve this task from 'Java Compute Node' from IIB 10 Toolkit.

Below is sample flow







And code inside java compute  node -




// Add user code below
            BrokerConnectionParameters bcp = new IntegrationNodeConnectionParameters("localhost",4416);
                 BrokerProxy b = BrokerProxy.getInstance(bcp);
               
                 ExecutionGroupProxy e = b.getExecutionGroupByName("default");
                 ApplicationProxy a = e.getApplicationByName("UDPViaJavaApp");
                 MessageFlowProxy m = a.getMessageFlowByName("UDPChangeViaJAVA_MF");
                 m.setUserDefinedProperty("hostName", "localhost:555");

            // End of user code
            // ----------------------------------------------------------


I suggest you to try by yourself but if you don't want here is the code you can download from -

Download Integration PI



3 comments:

  1. Thanks a lot Satendra! The sample is working like a charm. Able to access and update UDP of a remote broker application as well.

    ReplyDelete
  2. This IBM App Connect Enterprise V11 training ​covers concepts from Basic level to advance level. Whether you are an individual or corporate client we can customize training course content as per your requirement. And can arrange this IBM App Connect Enterprise V11 training at your pace.

    IBM APP Connect Enterprise (ACE) V11, which was earlier known as “IBM Integration Bus” or “WebSphere Message Broker” is basically IBM's Integration Broker from the WebSphere product family that authorizes business information to flow between various applications across multiple hardware and software platforms.
    Complete Customization of IBM App Connect Enterprise V11 training’s course content is possible for Individual students and for Corporate.
    Email: contact@maxmunus.com
    Call / WhatsApp: +91903588898

    ReplyDelete