Skip to main content

While executing the Walkthrough 7-2: Pass messages between flows using the Java VM transport (from MU Fundamental course) I am getting below error at the step where one flow is calling another flow

 

***ERROR 2018-09-17 08:58:12,691 [[apdev-examples].HTTP_Listener_Configuration.worker.01] org.mule.exception.DefaultMessagingExceptionStrategy:

********************************************************************************

***Message : Error sending HTTP request to http://localhost:8081/flow2.

Payload : HELLO WORLD

Payload Type : java.lang.String

Element : /apdev-examplesFlow/processors/2 @ apdev-examples:apdev-examples.xml:16 (HTTP)

Element XML : ******apdev-examples.zip

 

I executed all the steps as instructed in the training material but not able to understand why the flow is failing.

 

I have attached the project ZIP here.

 

Please help.

 

2 answers
  1. Manish Kumar Yadav (Hitachi Energy) Forum Ambassador
    Sep 17, 2018, 4:48 PM

    Hi @rajaanypoint,

     

    Please change the port for HTTP requester what I have seen in your code that you are using 8081 in listener and requester as well.

     

    Keep the listener port to 8081 and other HTTP Requester TO HTTP(caller in Flow 2) 8082.and Try it .It will work.

     

    Thanks,

     

    Manish Kumar Yadav

     

    MuleSoft Forum Moderator

0/9000