Showing posts with label Integration. Show all posts
Showing posts with label Integration. Show all posts

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



Thursday, January 25, 2018

How To Remove the First Message from a MQ Queue on Windows

If your queue manage is running on Windows and you have a queue with some messages but you want to remove the first message from that queue which due to some reason not getting process and holding up other messages in turn.


There are few ways to remove that message.


Use RFHUTIL 

1.1 Download RFHUTIL from here http://www-01.ibm.com/support/docview.wss?uid=swg24000637

Open that link and go to the below section on the page



Click and HTTP and follow the instruction and unzip the file into you local drive.




1.2 Open the rfhutil.exe if your queue manage is running on your local system or go to step 2.1

1.3 Load Queue manager name & then queue namge
1.4 Clock on Browse once.
1.5 Now you have the first message loaded on your rfhtuil
1.6 Clock on READ now - make sure you click only once. and wait for the response
1.7 on response now you have cleared your first message from the queue.

2.1  if you have queue manager running on some other machine , use the rfhutilc.exe
2.2 follow the instruction here till step 4 only on this link - https://developer.ibm.com/answers/questions/397554/how-do-you-set-up-and-use-rfhutilcexe-to-connect-t/
2.3 now you are connected with your queue manage running on remote and loaded the queue as well now follow the step 1.5 to 1.7 mentioned above.

And you are done.


Use Qload

1.1 Download Qload from here http://www-01.ibm.com/support/docview.wss?uid=swg24009368

Open that link and go to the below section on the page

Click and HTTP and follow the instruction and unzip the file into you local drive.

1.2 Extract this into your local system.
1.3 go to the location from your cmd - C:\mo03\V1.9\Windows
1.4 run the command - qload -m IB9QMGR -I LARGE_MESSAGING_IN -f IB9QMGR.log -r 1
modify the command based on your requirement.  Eg.






As you can above command will clear the first message from queue and put into a file as well.

And you are done here. Thanks.


Feel free to put comment below in of any queries .

Sunday, September 27, 2015

Dexpathlist Error Didn't find class on path on Eclipse ADT

If you are facing this problem while running your android project on eclipse ADT, then below is the solution for you.

    1.Right click on your project and select Properties.
    2.Select Java Build Path from the menu on the left.
    3.Select the Order and Export tab.
    4.From the list make sure the libraries or external jars you added to your project are checked.
    5.Finally, clean your project & run.

Cheers.

Friday, March 20, 2015

How To Delete .Bar Files from IIB workspace using IIB tool kit

Well ,  if you are trying to delete the .bar files which you have manually or the IIB toolkit has created for you in your workspace , currently on right click you will not get the delete option for deleting these .bar files.

Here is the trick , you can delete these files by using the keyboard on windows 7 by using the Delete key. 

Steps -

1. Select the .bar file(s) you want to delete.
2. Press the 'Delete' button on keyboard

and that's it.

Screen Shot for your information:-