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:
      MULE-484Transformer not being configured in FilteringOutboundRouter
      MULE-6200Binding does not work with dynamic endpoints
      MULE-5162Dynamic endpoints don't work for VM and JMS transport
      MULE-1782Dynamic creation of message receiver endpoints doesn't work
      MULE-2645TemplateEndpointRouter alters template values of endpoints only for the first time
      MULE-5783Dynamic endpoints are not working when connector-ref is used
      MULE-6924Dynamic round robin does not work in cluster
      MULE-2312Supporting dynamic properties in Mule, especially on endpoints.
      MULE-6132Dynamic Outbound Endpoint Address
      MULE-6244Cannot set session variable in enricher's target

      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)

        Activity

        Atlassian Bamboo View RSS feed

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development