Error message

  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/ullgren/pontus.ullgren.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/ullgren/pontus.ullgren.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/ullgren/pontus.ullgren.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/ullgren/pontus.ullgren.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/ullgren/pontus.ullgren.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/ullgren/pontus.ullgren.com/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6656 of /home/ullgren/pontus.ullgren.com/includes/common.inc).
  • Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home/ullgren/pontus.ullgren.com/includes/common.inc).

Mule ESB 3.6

Building a HTTP Proxy flow in Mule 3.6+

Using a ESB to proxy incoming HTTP (and HTTPS) calls to an internal service, adding cross cutting concerns such as logging and authentication, is not uncommon. This blog will describe how to build such a proxy flow using Mule ESB 3.6.1 Community Edition.

What does the official documentation say ?

The official MuleSoft documentation includes a description on how to Proxying Your API how ever this guide is based on the assumption that you are using the Anypoint API Gateway which is part of MuleSofts AnypointPlatform offering.
Thus this guide is not applicable when working with the community edition of Mule ESB. Luckily we can still use much of this guide to build our own proxy flow.