Details
-
Type:
Patch submission
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 3.0.0, 3.0.1, 3.1.0
-
Component/s: Core: Endpoints, Core: Routing / Filters
-
Labels:None
-
Environment:
tested in Linux using vm activemq, hornetq
-
User impact:High
-
Configuration:
-
Similar Issues:None
Description
When trying to use a dynamic outbound endpoint either:
You get a null pointer exception for the VM transport "request-response" message
or
You there is no response if the VM transport is set to one-way
or
You get a null pointer exception for the JMS transport for one-way.
This seems to be down to the MuleEndpointURI class not being initialised in the FilteringOutboundRouter class.
Putting this fix in seems do make it work.
newUri.initialise();
return new DynamicURIOutboundEndpoint(ep, newUri);
}
catch (InitialisationException e) {
throw new CouldNotRouteOutboundMessageException(
CoreMessages.templateCausedMalformedEndpoint(uri, newUriString), event, ep, e);
}
The supplied patch was applied.