Details
-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.3
-
None
Description
CamelImplementationTest has a test that has does the following :
<enrich uri="switchyard://EnrichService?operationName=doNothing"/>
For some reason, this isn't being unmarshalled properly. If you set a debug breakpoint in org.switchyard.component.camel.RouteFactory.loadRoute(String), you'll notice that the resulting obj from binder.unmarshal looks like this :
Routes: [Route(CamelTestRoute)[[From[switchyard://OrderService]] -> [Log[ItemId [${body}]], Enrich[null], To[switchyard://WarehouseService?operationName=hasItem], Log[Title Name [${body}]], Log[Properties [{{user.name}}, {{prop.domain}}, {{prop.composite}}, {{prop.component}}]]]]]
The Enrich[null] should contain the SwitchYard endpoint uri - the null is causing the error below.
Tests in error:
sendOneWayMessageThroughCamelToTestAttachment(org.switchyard.component.camel.deploy.CamelImplementationTest)
sendOneWayMessageThroughCamelToSwitchYardService(org.switchyard.component.camel.deploy.CamelImplementationTest)
Tests run: 43, Failures: 0, Errors: 2, Skipped: 1