App Connect

App Connect

Join this online user group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#Applicationintegration
#App Connect
#AppConnect
 View Only
  • 1.  Messageflow using inside messageflows

    Posted Tue December 17, 2024 09:57 AM

    Hi, I have codebase where i have multiple apps and few static libs. On one hand, Applications have messageflows that are using messageflows inside it and on the other hand there are messageflows inside static libs which are also being used inside those applications. 

    So first, I want to understand what could be a technical justification for doing this i mean couldn't this be done simple creating subflows for reusble flows and use them inside messageflows where ever needed. Please help me explain this.

    Second, I've changed all those messageflows which were being used inside other messageflows into subflows in the Applications. Plus convert all the messageflows to Subflows in the static libs as well. So there is no exceptions showing on the toolkit but when i deploy the bar there are few esql procedures declarations(calling java methods in the backend)  is throwing exceptions that couldn't be able to find java class or method which is referred to by the routine. 


    What am i doing wrong and in order to fix this i need to understand the issue here first.



    ------------------------------
    Saad Ahmed
    ------------------------------


  • 2.  RE: Messageflow using inside messageflows

    Posted Wed December 18, 2024 08:22 AM

    Hi,

    It seems to me that what you are describing is a deployment problem. You need to make sure that whenever you deploy the sub-flow with the Java call, you also deploy (in the same bar file) the java classes needed for the call to succeed... Remember that each integration server has it's own JVM and anything that is deployed there needs to have it Java calls deployed as well, unless the call is made global (different location of jar file).

    Hope it helps



    ------------------------------
    Francois Brandelik
    ------------------------------



  • 3.  RE: Messageflow using inside messageflows

    Posted Mon December 23, 2024 01:01 AM

    Hi Ahmed

    Are the exceptions come from esql in the shared libraries or in the applications? Double check your project references, maybe something changed there. 

    As Francois already mentioned, the jar files need to be present in the related bar you deploy, so that the application has access. 

    In order to better understand your situation, can you send a screenshot of your project setup in the toolkit, and maybe also one of the error?



    ------------------------------
    Regards
    Matthias Blomme
    Integration Specialist
    Integration Designers
    Turnhout
    ------------------------------



  • 4.  RE: Messageflow using inside messageflows

    Posted Mon December 23, 2024 09:32 AM

    It's important to note the Java version you are using. It's likely an issue that the Java code available in your Java node is referencing Java code that is supported in the next revisions. 



    ------------------------------
    long Ho
    ------------------------------