Uploaded image for project: 'Mule'
  1. Mule
  2. MULE-5044

A dynamic endpoints contaioning a template does not work as a target of a FilteringOutboundRouter

    Details

    • User impact:
      High
    • Similar Issues:

      Description

      http://forums.mulesoft.org/thread.jspa?threadID=3910&tstart=0

      Here is my outbound endpoint configuration looks:

      <outbound>
      <filtering-router>
      <outbound-endpoint address="http://xxxx:8080#[header:http.request]"
      transformer-refs="xxxx"
      exchange-pattern="request-response"/>
      <custom-filter name="ServiceGroupRoutingFilter" class="com.xxxx">
      <spring:property name="service" value="xxx"/>
      </custom-filter>
      </filtering-router>
      </outbound>

      Here is the exception stacktrace
      ********************************************************************************
      Message : Failed to route event via endpoint: org.mule.routing.outbound.FilteringOutboundRouter@2f54. Message payload is of type: String
      Code : MULE_ERROR-39999
      --------------------------------------------------------------------------------
      Exception stack is:
      1. null (java.lang.NullPointerException)
      org.mule.routing.outbound.FilteringOutboundRouter:176 (null)
      2. Failed to route event via endpoint: org.mule.routing.outbound.FilteringOutboundRouter@2f54. Message payload is of type: String (org.mule.api.routing.RoutingException)
      org.mule.routing.outbound.AbstractOutboundRouter:109 (http://www.mulesource.org/docs/site/current2/apidocs/org/mule/api/routing/RoutingException.html)
      --------------------------------------------------------------------------------
      Root Exception stack trace:
      java.lang.NullPointerException
      at org.mule.routing.outbound.FilteringOutboundRouter.getRoute(FilteringOutboundRouter.java:176)
      at org.mule.routing.outbound.FilteringOutboundRouter.route(FilteringOutboundRouter.java:76)
      at org.mule.routing.outbound.AbstractOutboundRouter$1.doInTransaction(AbstractOutboundRouter.java:96)

        Attachments

          Activity

            People

            • Assignee:
              mike.schilling Mike Schilling
              Reporter:
              mike.schilling Mike Schilling
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                14/Sep/10