Question-11: What is the issue with the using custom MessageProcessor for custom requirement?

Answer: When you use custom MessageProcessor then you are exposing Mule internals and instead you can use Component where mule internals are shielded.

Question-12: Which are the Mesaage Exchange Patterns are supported by the Mule?

Answer: Mule currently support only below tow Message Exchange Patter (MEP)

  • One-way: In this case there would not be any synchronous response is expected from the interaction.
  • Request-response: Where a synschronous response is expected.

Question-13: Which of the MEP we can use in the different endpoints?

Answer: We can use both inbound and outbound endpoints, but it also depend on the transport which you are using. Like POP3 allows only one way interaction.

Question-14: Can you explain how the how MEP works for the inbound endpoint?

Answer: With one-way inbound endpoint Mule would not return a response to the caller, while request-response means it will return a response.

Question-15: Can you explain how the how MEP works for the outbound endpoint?

Answer: On outbound endpoints using one-way MEP means Mule would not wait for a response from the callee, and disregard if callee respond. And with request-response it would wait for the response. In case of outbound Mule act as a client.